From d4a2ef52715438b26a4bfc5ba3684d8c303832c9 Mon Sep 17 00:00:00 2001
From: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Date: Thu, 28 Aug 2014 15:01:37 +0300
Subject: [PATCH] Fix tests

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
---
 features/steps/explore/projects.rb   | 4 ++--
 features/steps/project/active_tab.rb | 2 +-
 features/steps/project/redirects.rb  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/features/steps/explore/projects.rb b/features/steps/explore/projects.rb
index dfd51060738..f31d32a4a2d 100644
--- a/features/steps/explore/projects.rb
+++ b/features/steps/explore/projects.rb
@@ -35,13 +35,13 @@ class Spinach::Features::ExploreProjectsFeature < Spinach::FeatureSteps
   end
 
   step 'I should see project "Community" home page' do
-    within '.project-home-title' do
+    within '.navbar-gitlab .title' do
       page.should have_content 'Community'
     end
   end
 
   step 'I should see project "Internal" home page' do
-    within '.project-home-title' do
+    within '.navbar-gitlab .title' do
       page.should have_content 'Internal'
     end
   end
diff --git a/features/steps/project/active_tab.rb b/features/steps/project/active_tab.rb
index dfafbc6fc0e..e39c0b65b91 100644
--- a/features/steps/project/active_tab.rb
+++ b/features/steps/project/active_tab.rb
@@ -7,7 +7,7 @@ class ProjectActiveTab < Spinach::FeatureSteps
   # Main Tabs
 
   Then 'the active main tab should be Home' do
-    ensure_active_main_tab('Activity')
+    ensure_active_main_tab('Project')
   end
 
   Then 'the active main tab should be Settings' do
diff --git a/features/steps/project/redirects.rb b/features/steps/project/redirects.rb
index 7e01735af95..db181bc2a98 100644
--- a/features/steps/project/redirects.rb
+++ b/features/steps/project/redirects.rb
@@ -18,7 +18,7 @@ class Spinach::Features::ProjectRedirects < Spinach::FeatureSteps
 
   step 'I should see project "Community" home page' do
     Gitlab.config.gitlab.stub(:host).and_return("www.example.com")
-    within '.project-home-title' do
+    within '.navbar-gitlab .title' do
       page.should have_content 'Community'
     end
   end
-- 
GitLab