Commit d4a2ef52 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
parent 82893089
......@@ -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
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment