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
af2a6ec1
Unverified
Commit
af2a6ec1
authored
Jul 21, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add useless test. Uncomment when we improve testing
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
2a4c73c0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
project.feature
features/project/project.feature
+6
-0
project.rb
features/steps/project/project.rb
+11
-0
No files found.
features/project/project.feature
View file @
af2a6ec1
...
...
@@ -29,3 +29,9 @@ Feature: Project Feature
When
I visit project
"Shop"
page
Then
I should see project
"Shop"
README link
And
I should see project
"Shop"
version
Scenario
:
I
should change project default branch
When
I visit edit project
"Shop"
page
And
change project default branch
And
I save project
Then
I should see project default branch changed
features/steps/project/project.rb
View file @
af2a6ec1
...
...
@@ -36,4 +36,15 @@ class ProjectFeature < Spinach::FeatureSteps
page
.
should
have_content
"Version: 2.2.0"
end
end
step
'change project default branch'
do
select
'stable'
,
from:
'project_default_branch'
end
step
'I should see project default branch changed'
do
# TODO: Uncomment this when we can do real gitlab-shell calls
# from spinach tests. Right now gitlab-shell calls are stubbed so this test
# will not pass
# find(:css, 'select#project_default_branch').value.should == 'stable'
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