From 98e1597f8c4a3c55018a8d1f29a8462d2404dadf Mon Sep 17 00:00:00 2001
From: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Date: Thu, 18 Jul 2013 14:11:17 +0300
Subject: [PATCH] Fix tests

---
 app/views/projects/protected_branches/index.html.haml | 2 +-
 features/steps/project/project_browse_branches.rb     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/views/projects/protected_branches/index.html.haml b/app/views/projects/protected_branches/index.html.haml
index 4fbda5b9158..9cadb6fb126 100644
--- a/app/views/projects/protected_branches/index.html.haml
+++ b/app/views/projects/protected_branches/index.html.haml
@@ -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
diff --git a/features/steps/project/project_browse_branches.rb b/features/steps/project/project_browse_branches.rb
index 24939d2ab4f..e77825411f3 100644
--- a/features/steps/project/project_browse_branches.rb
+++ b/features/steps/project/project_browse_branches.rb
@@ -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
-- 
GitLab