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]

      image.save_picture

    end
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to