Fix pipeline job worker specs

This commit is contained in:
Grzegorz Bizon 2017-08-23 11:46:10 +02:00
parent da4c54e4fb
commit 45d1c9a47c
1 changed files with 1 additions and 1 deletions

View File

@ -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)