Fix pipeline job worker specs
This commit is contained in:
parent
da4c54e4fb
commit
45d1c9a47c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue