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
30654f8d
Commit
30654f8d
authored
Jun 17, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove duplicate steps
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
216e5fca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
51 deletions
+0
-51
features/steps/project/project_browse_branches.rb
features/steps/project/project_browse_branches.rb
+0
-51
No files found.
features/steps/project/project_browse_branches.rb
deleted
100644 → 0
View file @
216e5fca
class
ProjectBrowseBranches
<
Spinach
::
FeatureSteps
include
SharedAuthentication
include
SharedProject
include
SharedPaths
step
'I should see "Shop" recent branches list'
do
page
.
should
have_content
"Branches"
page
.
should
have_content
"master"
end
step
'I click link "All"'
do
click_link
"All"
end
step
'I should see "Shop" all branches list'
do
page
.
should
have_content
"Branches"
page
.
should
have_content
"master"
end
step
'I click link "Protected"'
do
click_link
"Protected"
end
step
'I should see "Shop" protected branches list'
do
within
".protected-branches-list"
do
page
.
should
have_content
"stable"
page
.
should_not
have_content
"master"
end
end
step
'project "Shop" has protected branches'
do
project
=
Project
.
find_by
(
name:
"Shop"
)
project
.
protected_branches
.
create
(
name:
"stable"
)
end
step
'I click new branch link'
do
click_link
"New branch"
end
step
'I submit new branch form'
do
fill_in
'branch_name'
,
with:
'deploy_keys'
fill_in
'ref'
,
with:
'master'
click_button
'Create branch'
end
step
'I should see new branch created'
do
within
'.all-branches'
do
page
.
should
have_content
'deploy_keys'
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