summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-05 09:28:55 +0100
committerPhil Hughes <me@iamphill.com>2017-09-05 09:28:55 +0100
commita27c0013009ee36bc796a6b12c36b6320d05cce2 (patch)
treeef430949445a29a1065a137704bba7e150260e55 /features
parent365adcf6a3bd684abfa9aac3b47e53c1eb41bac6 (diff)
downloadgitlab-ce-a27c0013009ee36bc796a6b12c36b6320d05cce2.tar.gz
test fixes
removed un-used file
Diffstat (limited to 'features')
-rw-r--r--features/steps/explore/projects.rb4
-rw-r--r--features/steps/project/redirects.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/explore/projects.rb b/features/steps/explore/projects.rb
index 8fb2ac34c32..90d0ff47ce7 100644
--- a/features/steps/explore/projects.rb
+++ b/features/steps/explore/projects.rb
@@ -36,13 +36,13 @@ class Spinach::Features::ExploreProjects < Spinach::FeatureSteps
end
step 'I should see project "Community" home page' do
- page.within '.breadcrumbs .title' do
+ page.within '.breadcrumbs .breadcrumb-item-project-name' do
expect(page).to have_content 'Community'
end
end
step 'I should see project "Internal" home page' do
- page.within '.breadcrumbs .title' do
+ page.within '.breadcrumbs .breadcrumb-item-project-name' do
expect(page).to have_content 'Internal'
end
end
diff --git a/features/steps/project/redirects.rb b/features/steps/project/redirects.rb
index 100e674abed..ff9331b93fa 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.should_receive(:host).and_return("www.example.com")
- page.within '.breadcrumbs .title' do
+ page.within '.breadcrumbs .breadcrumb-item-project-name' do
expect(page).to have_content 'Community'
end
end