Skip to content

Commit

Permalink
ActionController::TestCase.process only takes one argument
Browse files Browse the repository at this point in the history
  • Loading branch information
hennevogel authored and danidoni committed Mar 15, 2022
1 parent f664658 commit 6c29c2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
let(:default_opts) { {} }
let(:opts) { {} }

subject { process(action, { method: method, **default_opts.merge(opts) }) }
subject { process(action, method: method, **default_opts.merge(opts)) }

it 'sets flash error message' do
subject
Expand Down

0 comments on commit 6c29c2a

Please sign in to comment.