Commit 45d1c9a4 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix pipeline job worker specs

parent da4c54e4
...@@ -3,7 +3,7 @@ require 'spec_helper' ...@@ -3,7 +3,7 @@ require 'spec_helper'
describe BuildFinishedWorker do describe BuildFinishedWorker do
describe '#perform' do describe '#perform' do
context 'when build exists' do context 'when build exists' do
let(:build) { create(:ci_build) } let!(:build) { create(:ci_build) }
it 'calculates coverage and calls hooks' do it 'calculates coverage and calls hooks' do
expect(BuildCoverageWorker) expect(BuildCoverageWorker)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment