Commit d8dfbc51 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Improve readme tests

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 84653807
...@@ -86,12 +86,15 @@ class Spinach::Features::Project < Spinach::FeatureSteps ...@@ -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
......
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