diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-09-16 10:37:19 +0100 |
---|---|---|
committer | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-09-18 16:33:33 +0100 |
commit | 9abd871a03ead34945f7dff050f92d7ab9225472 (patch) | |
tree | ce28941de8cb717b0b1b25f203add91f35c6752c /features | |
parent | d54f05dac63d580d4451a954dd5593a065a05a3c (diff) | |
download | gitlab-ce-9abd871a03ead34945f7dff050f92d7ab9225472.tar.gz |
Added full-width new snippet button on mobile and corrected capitalizationfull-width-new-snippet-button
Altered specs that click capitalised New Snippet button
Applied review feedback missed in Changes `.no-comment` `opactiy: 0.5` to `opacity: .5`
Added `.btn-wide-on-xs` and applied to snippet buttons
Diffstat (limited to 'features')
-rw-r--r-- | features/project/snippets.feature | 2 | ||||
-rw-r--r-- | features/steps/project/snippets.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/features/project/snippets.feature b/features/project/snippets.feature index 270557cbde7..3c51ea56585 100644 --- a/features/project/snippets.feature +++ b/features/project/snippets.feature @@ -12,7 +12,7 @@ Feature: Project Snippets And I should not see "Snippet two" in snippets Scenario: I create new project snippet - Given I click link "New Snippet" + Given I click link "New snippet" And I submit new snippet "Snippet three" Then I should see snippet "Snippet three" diff --git a/features/steps/project/snippets.rb b/features/steps/project/snippets.rb index beb8ecfc799..5e7d539add6 100644 --- a/features/steps/project/snippets.rb +++ b/features/steps/project/snippets.rb @@ -21,8 +21,8 @@ class Spinach::Features::ProjectSnippets < Spinach::FeatureSteps author: project.users.first) end - step 'I click link "New Snippet"' do - click_link "New Snippet" + step 'I click link "New snippet"' do + click_link "New snippet" end step 'I click link "Snippet one"' do |