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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
05faeec7
Commit
05faeec7
authored
Sep 13, 2016
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix English
parent
18d7ae43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec/models/ci/pipeline_spec.rb
spec/models/ci/pipeline_spec.rb
+4
-4
No files found.
spec/models/ci/pipeline_spec.rb
View file @
05faeec7
...
@@ -398,7 +398,7 @@ describe Ci::Pipeline, models: true do
...
@@ -398,7 +398,7 @@ describe Ci::Pipeline, models: true do
build_b
.
enqueue
build_b
.
enqueue
end
end
it
'receive a pending event once'
do
it
'receive
s
a pending event once'
do
expect
(
WebMock
).
to
have_requested_pipeline_hook
(
'pending'
).
once
expect
(
WebMock
).
to
have_requested_pipeline_hook
(
'pending'
).
once
end
end
end
end
...
@@ -411,7 +411,7 @@ describe Ci::Pipeline, models: true do
...
@@ -411,7 +411,7 @@ describe Ci::Pipeline, models: true do
build_b
.
run
build_b
.
run
end
end
it
'receive a running event once'
do
it
'receive
s
a running event once'
do
expect
(
WebMock
).
to
have_requested_pipeline_hook
(
'running'
).
once
expect
(
WebMock
).
to
have_requested_pipeline_hook
(
'running'
).
once
end
end
end
end
...
@@ -422,7 +422,7 @@ describe Ci::Pipeline, models: true do
...
@@ -422,7 +422,7 @@ describe Ci::Pipeline, models: true do
build_b
.
success
build_b
.
success
end
end
it
'receive a success event once'
do
it
'receive
s
a success event once'
do
expect
(
WebMock
).
to
have_requested_pipeline_hook
(
'success'
).
once
expect
(
WebMock
).
to
have_requested_pipeline_hook
(
'success'
).
once
end
end
end
end
...
@@ -432,7 +432,7 @@ describe Ci::Pipeline, models: true do
...
@@ -432,7 +432,7 @@ describe Ci::Pipeline, models: true do
build_a
.
drop
build_a
.
drop
end
end
it
'receive a failed event once'
do
it
'receive
s
a failed event once'
do
expect
(
WebMock
).
to
have_requested_pipeline_hook
(
'failed'
).
once
expect
(
WebMock
).
to
have_requested_pipeline_hook
(
'failed'
).
once
end
end
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