Skip to content
Snippets Groups Projects
Commit 98e1597f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix tests

parent 4a72f5d8
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -27,7 +27,7 @@
= f.submit 'Protect', class: "btn-create btn"
- unless @branches.empty?
%h5 Already Protected:
%ul.bordered-list
%ul.bordered-list.protected-branches-list
- @branches.each do |branch|
%li
%h4
Loading
Loading
Loading
Loading
@@ -22,7 +22,7 @@ class ProjectBrowseBranches < Spinach::FeatureSteps
end
 
Then 'I should see "Shop" protected branches list' do
within "table" do
within ".protected-branches-list" do
page.should have_content "stable"
page.should_not have_content "master"
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment