I am looking at the documentation for the have_http_status matcher here - 
https://www.rubydoc.info/gems/rspec-rails/RSpec%2FRails%2FMatchers:have_http_status
 - 
and I see that there are options to match for 2xx (:success), 3xx 
(:redirect) and 5xx (:error) but if I use :missing then it matches exactly 
on a 404 status. Is there any particular reason why there isn't an option 
for matching a status in the range 400-499? Thanks.

Regards,

Joe

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/d2a71d7d-c7a3-4d85-a2a7-f5c4d2fa81e0%40googlegroups.com.

Reply via email to