Thank you
All the above specification passed. Now I want to test the return
value. I mean
def scan
#-------
if request.post?
image = Image.new
image.blob= params[:image][:blob]
if image.save_picture
@code = returns a barcode image value
end
end
What is the rspec code to test the return value and make it pass
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
