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
{{ message }}
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
By directly instantiating expectation handler, should/should_not was
circumventing enforce_value_expectation check.
subject(:action) { -> { raise } }
it { should raise_error StandardError }
would not print "The implicit block expectation syntax is deprecated",
while
subject(:action) { -> { raise } }
it { is_expected.to raise_error StandardError }
will.
See rspec/rspec-expectations#1139
0 commit comments