Commit 82cc38d7 authored by Douwe Maan's avatar Douwe Maan

Fix spec

parent 80508577
Pipeline #7060549 passed with stages
in 141 minutes and 9 seconds
......@@ -48,7 +48,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
end
step 'I click link "Raw"' do
click_link 'Raw'
click_link 'Open raw'
end
step 'I should see raw file content' do
......@@ -356,7 +356,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
step 'I should see buttons for allowed commands' do
page.within '.content' do
expect(page).to have_link 'Download raw'
expect(page).to have_link 'Open raw'
expect(page).to have_content 'History'
expect(page).to have_content 'Permalink'
expect(page).not_to have_content 'Edit'
......
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