Fix spec
This commit is contained in:
parent
8050857718
commit
82cc38d7d8
2 changed files with 3 additions and 3 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue