BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
8bb4750e
Commit
8bb4750e
authored
Nov 03, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added pipelines to integration spec
parent
9ead268c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
cycle_analytics_events_spec.rb
spec/requests/projects/cycle_analytics_events_spec.rb
+7
-3
No files found.
spec/requests/projects/cycle_analytics_events_spec.rb
View file @
8bb4750e
...
...
@@ -50,7 +50,8 @@ describe 'cycle analytics events' do
expect
(
json_response
[
'events'
]).
not_to
be_empty
# TODO create builds
expect
(
json_response
[
'events'
].
first
[
'pipeline'
]).
not_to
be_empty
end
it
'lists the review events in the right order'
do
...
...
@@ -68,7 +69,7 @@ describe 'cycle analytics events' do
expect
(
json_response
[
'events'
]).
not_to
be_empty
# TODO create builds
expect
(
json_response
[
'events'
].
first
[
'pipeline'
]).
not_to
be_empty
end
it
'lists the production events in the right order'
do
...
...
@@ -90,8 +91,11 @@ describe 'cycle analytics events' do
issue
=
create
(
:issue
,
project:
project
,
created_at:
2
.
days
.
ago
)
milestone
=
create
(
:milestone
,
project:
project
)
issue
.
update
(
milestone:
milestone
)
mr
=
create_merge_request_closing_issue
(
issue
)
pipeline
=
create
(
:ci_empty_pipeline
,
status:
'created'
,
project:
project
,
ref:
mr
.
source_branch
,
sha:
mr
.
source_branch_sha
)
pipeline
.
run
create_merge_request_closing_issue
(
issue
)
merge_merge_requests_closing_issue
(
issue
)
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