Commit 98e1597f8c4a3c55018a8d1f29a8462d2404dadf

Authored by Dmitriy Zaporozhets
1 parent 4a72f5d8

Fix tests

app/views/projects/protected_branches/index.html.haml
... ... @@ -27,7 +27,7 @@
27 27 = f.submit 'Protect', class: "btn-create btn"
28 28 - unless @branches.empty?
29 29 %h5 Already Protected:
30   - %ul.bordered-list
  30 + %ul.bordered-list.protected-branches-list
31 31 - @branches.each do |branch|
32 32 %li
33 33 %h4
... ...
features/steps/project/project_browse_branches.rb
... ... @@ -22,7 +22,7 @@ class ProjectBrowseBranches < Spinach::FeatureSteps
22 22 end
23 23  
24 24 Then 'I should see "Shop" protected branches list' do
25   - within "table" do
  25 + within ".protected-branches-list" do
26 26 page.should have_content "stable"
27 27 page.should_not have_content "master"
28 28 end
... ...