> Because the response object doesn't exist before the 'get'.

That makes things clearer.  There have been a couple times that I have 
put the response.should call before the do_get based on the reason you 
mentioned, in setting up a stub before the call to the method is made. 
Then after getting an error for that I saw in the documentation that it 
was to be placed after, which is what caused some confusion.

Thanks for the help, it is very much appreciated.


-- 
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