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 committed Mar 14, 2022
1 parent 104edce commit 92a03a2
Showing 1 changed file with 1 addition and 1 deletion.
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 92a03a2

Please sign in to comment.