Skip to content

Commit

Permalink
Fix Lint/AmbiguousBlockAssociation
Browse files Browse the repository at this point in the history
  • Loading branch information
barrucadu committed Jul 20, 2020
1 parent 7bd5477 commit efe4290
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/lib/rails_ext/action_dispatch/debug_exceptions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ def log_error(request, wrapper); end

expect {
described_class.monkey_patch_log_error(FakeDebugExceptions)
}.to change {
instance.method(:log_error)
}
}.to(change { instance.method(:log_error) })
end
end
end

0 comments on commit efe4290

Please sign in to comment.