[rspec-users] How to spec two lines in application_controller.rb

Fernando Perez lists at ruby-forum.com
Tue May 26 12:52:00 EDT 2009

Hunt Jon wrote:
> I need to spec the following lines:
No you don't. They are thoroughly tested in the Rails framework and you 
didn't add any behavior to them, so reading them makes it immediately 
clear what they are doing.

Don't worry without specing these 2 lines you'll still get your 100% 
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list