Commit ada5c28
committed
Remove redundant
This commit removes the following redundant `expect_no_offenses` keyword arguments:
```console
$ bundle exec rubocop
(snip)
Offenses:
spec/rubocop/cop/rails/save_bang_spec.rb:175:35:
C: [Correctable] InternalAffairs/RedundantExpectOffenseArguments: Remove the redundant arguments.
expect_no_offenses(<<~RUBY, method: method)
^^^^^^^^^^^^^^^^
spec/rubocop/cop/rails/save_bang_spec.rb:291:33:
C: [Correctable] InternalAffairs/RedundantExpectOffenseArguments: Remove the redundant arguments.
expect_no_offenses(<<~RUBY, method: method)
^^^^^^^^^^^^^^^^
292 files inspected, 2 offenses detected, 2 offenses autocorrectable
```expect_no_offenses keyword arguments1 parent 8293b58 commit ada5c28
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| |||
0 commit comments