summaryrefslogtreecommitdiff
path: root/spec/workers
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2017-08-24 12:46:33 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2017-08-24 12:46:33 +0000
commiteae604e6de0136f2cc1c06b48fb1503408059ce8 (patch)
tree06a00f7b8b03539502d1eaad755dac1a4d2e1dd0 /spec/workers
parent6752a3bbe38bbd1a99caa2b3d8c36c55c3096ac4 (diff)
parent3c2bcf258ce2171617c0b89a2343a96586b750d2 (diff)
downloadgitlab-ce-eae604e6de0136f2cc1c06b48fb1503408059ce8.tar.gz
Merge branch 'backstage/gb/after-save-asynchronous-job-hooks' into 'master'
Do not fire synchronous hooks when creating a job Closes #35286 See merge request !13734
Diffstat (limited to 'spec/workers')
-rw-r--r--spec/workers/build_finished_worker_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/build_finished_worker_spec.rb b/spec/workers/build_finished_worker_spec.rb
index 2868167c7d4..8cc3f37ebe8 100644
--- a/spec/workers/build_finished_worker_spec.rb
+++ b/spec/workers/build_finished_worker_spec.rb
@@ -3,7 +3,7 @@ require 'spec_helper'
describe BuildFinishedWorker do
describe '#perform' do
context 'when build exists' do
- let(:build) { create(:ci_build) }
+ let!(:build) { create(:ci_build) }
it 'calculates coverage and calls hooks' do
expect(BuildCoverageWorker)