Skip to content

Commit

Permalink
🚨 Lint III
Browse files Browse the repository at this point in the history
  • Loading branch information
jcroteau committed Aug 17, 2023
1 parent bede82e commit 97d0a9c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
module DeprecationWarnings
describe DevelopmentHandler do
context ".call" do
subject(:call) { described_class.call(message, callstack = [], deprecation_horizon = "6.0", gem_name = "Rails") }
subject(:call) do
described_class.call(message, _callstack = [], _deprecation_horizon = "6.0", _gem_name = "Rails")
end

let(:message) { "dummy deprecation message" }

let(:rails_logger) { Rails.logger }

before do
Expand Down
4 changes: 3 additions & 1 deletion spec/services/deprecation_warnings/test_handler_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
module DeprecationWarnings
describe TestHandler do
context ".call" do
subject(:call) { described_class.call(message, callstack = [], deprecation_horizon = "6.0", gem_name = "Rails") }
subject(:call) do
described_class.call(message, _callstack = [], _deprecation_horizon = "6.0", _gem_name = "Rails")
end

let(:message) { "dummy deprecation message" }

Expand Down

0 comments on commit 97d0a9c

Please sign in to comment.