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
This commit makes this repo to use RuboCop RSpec 2.18 and suppress the following new offenses:
```consle
% bundle exec rake
(snip)
Offenses:
spec/project_spec.rb:22:9: C: [Correctable] RSpec/PredicateMatcher: Prefer using include? over include matcher.
expect(description).not_to include("\n")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
spec/rubocop/cop/rails/validation_spec.rb:11:7: C: [Correctable] RSpec/PredicateMatcher: Prefer using include? over include matcher.
expect(offenses.first.message).to include(described_class::ALLOWLIST[number])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
279 files inspected, 2 offenses detected, 2 offenses autocorrectable
````
0 commit comments