summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-03-15 11:01:22 -0600
committerDouwe Maan <douwe@selenight.nl>2017-03-16 09:37:22 -0600
commit82cc38d7d871f70ba5ee5a8848c471490da3b40d (patch)
tree6e0460b01f3af023c5031ce279832ffc9b30dc85
parent8050857718668eebe74d9365c732587928cad84f (diff)
downloadgitlab-ce-82cc38d7d871f70ba5ee5a8848c471490da3b40d.tar.gz
-rw-r--r--app/views/projects/blame/show.html.haml2
-rw-r--r--features/steps/project/source/browse_files.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/blame/show.html.haml b/app/views/projects/blame/show.html.haml
index ce44af69854..4ad77b6266d 100644
--- a/app/views/projects/blame/show.html.haml
+++ b/app/views/projects/blame/show.html.haml
@@ -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
diff --git a/features/steps/project/source/browse_files.rb b/features/steps/project/source/browse_files.rb
index 76f87f2738c..5c47eaf0279 100644
--- a/features/steps/project/source/browse_files.rb
+++ b/features/steps/project/source/browse_files.rb
@@ -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'