diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-23 12:46:10 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-23 12:46:10 +0300 |
commit | 45d1c9a47ceeea4bffcfecd77ca87bd545f1b052 (patch) | |
tree | b7257af3f413b482fda22381109f6abe8e60db09 /spec/workers | |
parent | da4c54e4fb81d5d93d63e4f472a4dcb1e4ff9521 (diff) |
Fix pipeline job worker specs
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/build_finished_worker_spec.rb | 2 |
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) |