diff options
Diffstat (limited to 'spec/workers/post_receive_spec.rb')
-rw-r--r-- | spec/workers/post_receive_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/post_receive_spec.rb b/spec/workers/post_receive_spec.rb index 9b33e559c71..3951c20c048 100644 --- a/spec/workers/post_receive_spec.rb +++ b/spec/workers/post_receive_spec.rb @@ -354,7 +354,7 @@ RSpec.describe PostReceive do context 'webhook' do it 'fetches the correct project' do - expect(Project).to receive(:find_by).with(id: project.id) + expect(Project).to receive(:find_by).with({ id: project.id }) perform end |