[rspec-users] response.should be_success -- what does this prove?

Fernando Perez lists at ruby-forum.com
Fri Jun 5 16:28:40 EDT 2009

> It's useful when you're doing TDD as it's the simplest thing to expect
> a controller to do. If you break something it's also quite a nice
> first-failure to have.
Hmm, I'm not sure about that. If the view fails to render, then Rails 
returns the error page,
i.e: response.should be_success is total crap.
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list