diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-28 16:01:37 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-28 16:01:37 +0400 |
commit | d4a2ef52715438b26a4bfc5ba3684d8c303832c9 (patch) | |
tree | b033c66318c0c4686c2dc41c57844fa882a5a544 /features | |
parent | 82893089332bc1eb7f36bce8aef5ef19c91164eb (diff) |
Fix tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/explore/projects.rb | 4 | ||||
-rw-r--r-- | features/steps/project/active_tab.rb | 2 | ||||
-rw-r--r-- | 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 |