search for: have_success_status

Displaying 1 result from an estimated 1 matches for "have_success_status".

2007 Nov 10
2
be_success misleading
....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''? Steve