You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if there's a way to implicitely enforce be_*** style when last_reponse is found. I'm not that familiar with AST.
Maybe it could be its own cop but outside of Rails.
The text was updated successfully, but these errors were encountered:
last_response addition doesn't work with the
have_http_status
matcher since it's a Rails/Matcher that acts on ActionDispatch::TestResponseAlthough, I think enforcing the style
be_status
should describe an offense likeinstead of
I don't know if there's a way to implicitely enforce
be_***
style whenlast_reponse
is found. I'm not that familiar with AST.Maybe it could be its own cop but outside of Rails.
The text was updated successfully, but these errors were encountered: