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
98e1597f
Commit
98e1597f
authored
Jul 18, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests
parent
4a72f5d8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/projects/protected_branches/index.html.haml
app/views/projects/protected_branches/index.html.haml
+1
-1
features/steps/project/project_browse_branches.rb
features/steps/project/project_browse_branches.rb
+1
-1
No files found.
app/views/projects/protected_branches/index.html.haml
View file @
98e1597f
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
=
f
.
submit
'Protect'
,
class:
"btn-create btn"
=
f
.
submit
'Protect'
,
class:
"btn-create btn"
-
unless
@branches
.
empty?
-
unless
@branches
.
empty?
%h5
Already Protected:
%h5
Already Protected:
%ul
.bordered-list
%ul
.bordered-list
.protected-branches-list
-
@branches
.
each
do
|
branch
|
-
@branches
.
each
do
|
branch
|
%li
%li
%h4
%h4
...
...
features/steps/project/project_browse_branches.rb
View file @
98e1597f
...
@@ -22,7 +22,7 @@ class ProjectBrowseBranches < Spinach::FeatureSteps
...
@@ -22,7 +22,7 @@ class ProjectBrowseBranches < Spinach::FeatureSteps
end
end
Then
'I should see "Shop" protected branches list'
do
Then
'I should see "Shop" protected branches list'
do
within
"
table
"
do
within
"
.protected-branches-list
"
do
page
.
should
have_content
"stable"
page
.
should
have_content
"stable"
page
.
should_not
have_content
"master"
page
.
should_not
have_content
"master"
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