Skip to content

Commit

Permalink
Fix one more remaining keyword arg
Browse files Browse the repository at this point in the history
  • Loading branch information
klaustopher committed May 23, 2024
1 parent d47fccb commit 518c28e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/projects/queries_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

before do
scope = instance_double(ActiveRecord::Relation)
allow(Queries::Projects::ProjectQuery).to receive(:visible).with(user:).and_return(scope)
allow(Queries::Projects::ProjectQuery).to receive(:visible).with(user).and_return(scope)
allow(scope).to receive(:find).with(query.id.to_s).and_return(query)

login_as user
Expand Down

0 comments on commit 518c28e

Please sign in to comment.