Commit 98e1597f8c4a3c55018a8d1f29a8462d2404dadf
1 parent
4a72f5d8
Exists in
master
and in
4 other branches
Fix tests
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/projects/protected_branches/index.html.haml
@@ -27,7 +27,7 @@ | @@ -27,7 +27,7 @@ | ||
27 | = f.submit 'Protect', class: "btn-create btn" | 27 | = f.submit 'Protect', class: "btn-create btn" |
28 | - unless @branches.empty? | 28 | - unless @branches.empty? |
29 | %h5 Already Protected: | 29 | %h5 Already Protected: |
30 | - %ul.bordered-list | 30 | + %ul.bordered-list.protected-branches-list |
31 | - @branches.each do |branch| | 31 | - @branches.each do |branch| |
32 | %li | 32 | %li |
33 | %h4 | 33 | %h4 |
features/steps/project/project_browse_branches.rb
@@ -22,7 +22,7 @@ class ProjectBrowseBranches < Spinach::FeatureSteps | @@ -22,7 +22,7 @@ class ProjectBrowseBranches < Spinach::FeatureSteps | ||
22 | end | 22 | end |
23 | 23 | ||
24 | Then 'I should see "Shop" protected branches list' do | 24 | Then 'I should see "Shop" protected branches list' do |
25 | - within "table" do | 25 | + within ".protected-branches-list" do |
26 | page.should have_content "stable" | 26 | page.should have_content "stable" |
27 | page.should_not have_content "master" | 27 | page.should_not have_content "master" |
28 | end | 28 | end |