Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-02 18:10:10 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-02 18:10:10 +0300
commitf62efc386492a3e7ee2243202389d29ab62b5978 (patch)
treedad7ba9a804344ed166b20cc3613de97962eea55 /spec/workers/ci
parent610d783b61f3c3c7d19e6167df26368a7e8a0075 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/ci')
-rw-r--r--spec/workers/ci/build_finished_worker_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/ci/build_finished_worker_spec.rb b/spec/workers/ci/build_finished_worker_spec.rb
index 839723ac2fc..e9e7a057f98 100644
--- a/spec/workers/ci/build_finished_worker_spec.rb
+++ b/spec/workers/ci/build_finished_worker_spec.rb
@@ -11,7 +11,7 @@ RSpec.describe Ci::BuildFinishedWorker do
before do
stub_feature_flags(ci_build_finished_worker_namespace_changed: build.project)
- expect(Ci::Build).to receive(:find_by).with(id: build.id).and_return(build)
+ expect(Ci::Build).to receive(:find_by).with({ id: build.id }).and_return(build)
end
it 'calculates coverage and calls hooks', :aggregate_failures do