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
If you pass a hash as a mocked response, the assert_valid_body! method fails to recognize it as such, and so you get the less helpful version of the error message.
If you pass a hash as a mocked response, the
assert_valid_body!
method fails to recognize it as such, and so you get the less helpful version of the error message.I believe that this line should be changed from:
to:
@body
is a Hash, but@body.class
is a Class. 🙂The text was updated successfully, but these errors were encountered: