Skip to content
Snippets Groups Projects
Unverified Commit d8dfbc51 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Improve readme tests

parent 84653807
Branches
Tags
No related merge requests found
Loading
@@ -86,13 +86,16 @@ class Spinach::Features::Project < Spinach::FeatureSteps
Loading
@@ -86,13 +86,16 @@ class Spinach::Features::Project < Spinach::FeatureSteps
end end
   
step 'I should see project "Forum" README' do step 'I should see project "Forum" README' do
page.within('#README') do
expect(page).to have_content 'Sample repo for testing gitlab features' 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
fill_in 'Tags', with: 'tag1, tag2' fill_in 'Tags', with: 'tag1, tag2'
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment