summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/project.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/features/steps/project/project.rb b/features/steps/project/project.rb
index 9a451c19374..e8f9a80737f 100644
--- a/features/steps/project/project.rb
+++ b/features/steps/project/project.rb
@@ -86,12 +86,15 @@ class Spinach::Features::Project < Spinach::FeatureSteps
end
step 'I should see project "Forum" README' do
- expect(page).to have_content 'Sample repo for testing gitlab features'
+ page.within('#README') do
+ expect(page).to have_content 'Sample repo for testing gitlab features'
+ end
end
step 'I should see project "Shop" README' do
- expect(page).to have_link 'README.md'
- expect(page).to have_content 'testme'
+ page.within('#README') do
+ expect(page).to have_content 'testme'
+ end
end
step 'I add project tags' do