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
Is your feature request related to a problem? Please describe.
If I add a guard clause, some of my event tests will fail if the guard clause isn't returning true. I either have to mock the guard to return true or add multiple scenarios to test for each guard state.
Is your feature request related to a problem? Please describe.
If I add a guard clause, some of my event tests will fail if the guard clause isn't returning true. I either have to mock the guard to return true or add multiple scenarios to test for each guard state.
Describe the solution you'd like
RSpec syntax along the lines of
.with_guard(:my_guard)
(or something similar to https://github.com/jdliss/shoulda-callback-matchers).Describe alternatives you've considered
I either have to mock the guard to return true or add multiple scenarios to test for each guard state.
Additional context
n/a
The text was updated successfully, but these errors were encountered: