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
9d2b8326
Commit
9d2b8326
authored
Dec 14, 2015
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update commits spinach tests related to displaying build status
parent
32d83ee7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
commits.feature
features/project/commits/commits.feature
+2
-1
commits.rb
features/steps/project/commits/commits.rb
+4
-0
No files found.
features/project/commits/commits.feature
View file @
9d2b8326
...
@@ -19,7 +19,8 @@ Feature: Project Commits
...
@@ -19,7 +19,8 @@ Feature: Project Commits
Scenario
:
I
browse commit with ci from list
Scenario
:
I
browse commit with ci from list
Given
commit has ci status
Given
commit has ci status
And
I click on commit link
And
repository contains
".gitlab-ci.yml"
file
When
I click on commit link
Then
I see commit ci info
Then
I see commit ci info
And
I click status link
And
I click status link
Then
I see builds list
Then
I see builds list
...
...
features/steps/project/commits/commits.rb
View file @
9d2b8326
...
@@ -108,6 +108,10 @@ class Spinach::Features::ProjectCommits < Spinach::FeatureSteps
...
@@ -108,6 +108,10 @@ class Spinach::Features::ProjectCommits < Spinach::FeatureSteps
create
:ci_build
,
commit:
ci_commit
create
:ci_build
,
commit:
ci_commit
end
end
step
'repository contains ".gitlab-ci.yml" file'
do
allow_any_instance_of
(
Ci
::
Commit
).
to
receive
(
:ci_yaml_file
).
and_return
(
String
.
new
)
end
step
'I see commit ci info'
do
step
'I see commit ci info'
do
expect
(
page
).
to
have_content
"build: pending"
expect
(
page
).
to
have_content
"build: pending"
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