summaryrefslogtreecommitdiff
path: root/features/steps
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-03-16 23:03:37 +0000
committerRobert Speicher <robert@gitlab.com>2017-03-16 23:03:37 +0000
commit0c8a2edfab91d098cf586a4c0d4a7fdc87aff670 (patch)
tree90fd24fd574496104d077695dfa3559d6b186cb5 /features/steps
parentbd2b76cecac2aeda67b998a36e6a739d632bb824 (diff)
parent82cc38d7d871f70ba5ee5a8848c471490da3b40d (diff)
downloadgitlab-ce-0c8a2edfab91d098cf586a4c0d4a7fdc87aff670.tar.gz
Merge branch 'add-blob-copy-button' into 'master'
Add copy button to blob header and use icon for Raw button See merge request !9878
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/project/source/browse_files.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/project/source/browse_files.rb b/features/steps/project/source/browse_files.rb
index 6845f75f22f..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_content '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'