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

Fix spec

parent 80508577
...@@ -48,7 +48,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps ...@@ -48,7 +48,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
end end
step 'I click link "Raw"' do step 'I click link "Raw"' do
click_link 'Raw' click_link 'Open raw'
end end
step 'I should see raw file content' do step 'I should see raw file content' do
...@@ -356,7 +356,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps ...@@ -356,7 +356,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
step 'I should see buttons for allowed commands' do step 'I should see buttons for allowed commands' do
page.within '.content' 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 'History'
expect(page).to have_content 'Permalink' expect(page).to have_content 'Permalink'
expect(page).not_to have_content 'Edit' 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