Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
612820b2
Commit
612820b2
authored
Sep 26, 2016
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test by having a real commit
parent
beb47c25
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
spec/models/ci/pipeline_spec.rb
spec/models/ci/pipeline_spec.rb
+9
-1
No files found.
spec/models/ci/pipeline_spec.rb
View file @
612820b2
...
@@ -525,10 +525,18 @@ describe Ci::Pipeline, models: true do
...
@@ -525,10 +525,18 @@ describe Ci::Pipeline, models: true do
end
end
describe
'notifications when pipeline success or failed'
do
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
before
do
reset_delivered_emails!
reset_delivered_emails!
pipeline
.
update
(
user:
create
(
:user
))
pipeline
.
enqueue
pipeline
.
enqueue
pipeline
.
run
pipeline
.
run
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment