[rspec-users] testing an action which requires picture

Mano ah lists at ruby-forum.com
Fri Nov 14 06:29:54 EST 2008

can i know how to test a picture upload which dosent interact with db

my code is

  def scan

    if request.post?

      image = Image.new

      image.blob= params[:image][:blob]


Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list