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
Léo-Paul Géneau
gitlab-ce
Commits
f4845d6b
Commit
f4845d6b
authored
Jul 31, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Uncomment change branch test
parent
43d570e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
features/steps/project/project.rb
features/steps/project/project.rb
+4
-6
No files found.
features/steps/project/project.rb
View file @
f4845d6b
...
...
@@ -33,18 +33,16 @@ class ProjectFeature < Spinach::FeatureSteps
step
'I should see project "Shop" version'
do
within
'.project-side'
do
page
.
should
have_content
"Version:
2.2.0
"
page
.
should
have_content
"Version:
6.7.0.pre
"
end
end
step
'change project default branch'
do
select
'stable'
,
from:
'project_default_branch'
select
'fix'
,
from:
'project_default_branch'
click_button
'Save changes'
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'
find
(
:css
,
'select#project_default_branch'
).
value
.
should
==
'fix'
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