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
|
end
|
||||||
|
|
||||||
step 'I should see project "Forum" README' do
|
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
|
end
|
||||||
|
|
||||||
step 'I should see project "Shop" README' do
|
step 'I should see project "Shop" README' do
|
||||||
expect(page).to have_link 'README.md'
|
page.within('#README') do
|
||||||
expect(page).to have_content 'testme'
|
expect(page).to have_content 'testme'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
step 'I add project tags' do
|
step 'I add project tags' do
|
||||||
|
|
Loading…
Reference in New Issue