Improve readme tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
846538076b
commit
d8dfbc5118
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue