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

Fix spec

parent 80508577
......@@ -8,7 +8,7 @@
#blob-content-holder.tree-holder
.file-holder
= render "projects/blob/header", blob: @blob
.table-responsive.file-content.blame.code.js-syntax-highlight
%table
- current_line = 1
......
......@@ -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