Skip to content

Commit 2922567

Browse files
authored
Merge pull request #138 from koic/fix_frozen_error_for_rails_save_bang
Fix `FrozenError` for save_bang_spec.rb
2 parents 3421da1 + 2f6d6b7 commit 2922567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/rubocop/cop/rails/save_bang_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
end
5656

5757
it "when using #{method} without arguments" do
58-
inspect_source(method.to_s)
58+
inspect_source(+method.to_s)
5959

6060
expect(cop.messages)
6161
.to eq(["Use `#{method}!` instead of `#{method}` " \

0 commit comments

Comments
 (0)