-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
be_successful on a request spec hangs #2592
Comments
Shouldn't it be Would |
@pirj I think that be_successful is true for any 2xx based response. (e.g. :ok, :created, :no_content) When I use |
I'm having this same problem when going to rails >= 7.0 from latest supported version 6.1.3.3 (at time of writing). I've narrowed it down to something that changed in |
Does it hang for you, too, @darrenterhune ? |
I wouldn't say it hangs. It errors because I have an expectation of it to be 200 but it is a 403. |
I'm seeing behavior where using
be_successful
hangs (rather than fails) when the request status is not a 200.hangs:
Fails right away:
with:
Using:
The text was updated successfully, but these errors were encountered: