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
The standard way of having 'end-of-test' logic is to overwrite the teardown method in the test class.
Doing so, however, removes the alias that webmock/test_unit creates, causing WebMock.reset! to not be called.
Calling super in the teardown method avoids this behavior, but that is a non-standard approach and also isn't documented in WebMock (that I could find at least)
The text was updated successfully, but these errors were encountered:
The standard way of having 'end-of-test' logic is to overwrite the teardown method in the test class.
Doing so, however, removes the alias that webmock/test_unit creates, causing WebMock.reset! to not be called.
Calling super in the teardown method avoids this behavior, but that is a non-standard approach and also isn't documented in WebMock (that I could find at least)
The text was updated successfully, but these errors were encountered: