Skip to content
Snippets Groups Projects
Commit 612820b2 authored by Lin Jen-Shin's avatar Lin Jen-Shin :cookie:
Browse files

Fix test by having a real commit

parent beb47c25
No related branches found
No related tags found
1 merge request!6342Integrate CI emails into notification system
......@@ -525,10 +525,18 @@ def create_build(name, stage_idx)
end
describe 'notifications when pipeline success or failed' do
let(:project) { create(:project) }
let(:pipeline) do
create(:ci_pipeline,
project: project,
sha: project.commit('master').sha,
user: create(:user))
end
before do
reset_delivered_emails!
pipeline.update(user: create(:user))
pipeline.enqueue
pipeline.run
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment