[rspec-users] be_success misleading

Steve vertebrate at gmail.com
Sat Nov 10 11:31:13 EST 2007

Just wondering if anyone else thinks that 'response.should be_success' is
potentially misleading. If you're writing a spec for an action that is
failing in some way it can still have a status 200. So while the
HTTP request was technically successful, something in the action
was not. Perhaps something like 'response.should have_success_status'?


More information about the rspec-users mailing list