BigW Consortium Gitlab

Commit 7d36c889 by Grzegorz Bizon

Fix detailed status specs for pipeline stage model

parent be13fc68
......@@ -68,7 +68,9 @@ describe Ci::Stage, models: true do
end
describe '#detailed_status' do
subject { stage.detailed_status }
let(:user) { create(:user) }
subject { stage.detailed_status(user) }
context 'when build is created' do
let!(:stage_build) { create_job(:ci_build, status: :created) }
......
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