We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
expect_no_offenses
1 parent 8293b58 commit ada5c28Copy full SHA for ada5c28
spec/rubocop/cop/rails/save_bang_spec.rb
@@ -172,7 +172,7 @@
172
173
it "when using #{method} wrapped within parenthesis with if" do
174
if update
175
- expect_no_offenses(<<~RUBY, method: method)
+ expect_no_offenses(<<~RUBY)
176
if (object.#{method}); something; end
177
RUBY
178
else
@@ -288,7 +288,7 @@
288
end
289
290
it "when using #{method} with a bunch of hashes & arrays" do
291
292
return [{ success: object.#{method} }, true]
293
294
0 commit comments