Fix tests
This commit is contained in:
parent
4a72f5d82a
commit
98e1597f8c
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue