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
Jérome Perrin
gitlab-ce
Commits
4a235118
Commit
4a235118
authored
Aug 23, 2016
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Spinach branches spec
parent
f2b36bfd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
features/project/commits/branches.feature
features/project/commits/branches.feature
+1
-0
features/steps/project/commits/branches.rb
features/steps/project/commits/branches.rb
+5
-0
No files found.
features/project/commits/branches.feature
View file @
4a235118
...
...
@@ -22,6 +22,7 @@ Feature: Project Commits Branches
@javascript
Scenario
:
I
delete a branch
Given
I visit project branches page
And
I filter for branch improve/awesome
And
I click branch 'improve/awesome' delete link
Then
I should not see branch 'improve/awesome'
...
...
features/steps/project/commits/branches.rb
View file @
4a235118
...
...
@@ -73,6 +73,11 @@ class Spinach::Features::ProjectCommitsBranches < Spinach::FeatureSteps
expect
(
page
).
to
have_content
'Branch already exists'
end
step
'I filter for branch improve/awesome'
do
fill_in
'branch-search'
,
with:
'improve/awesome'
find
(
'#branch-search'
).
native
.
send_keys
(
:enter
)
end
step
"I click branch 'improve/awesome' delete link"
do
page
.
within
'.js-branch-improve\/awesome'
do
find
(
'.btn-remove'
).
click
...
...
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