diff options
author | Han Loong Liauw <hanloongliauw@gmail.com> | 2015-10-15 17:01:17 +1100 |
---|---|---|
committer | Han Loong Liauw <hanloongliauw@gmail.com> | 2015-10-15 17:59:17 +1100 |
commit | 45e11d95f27584f699392fad8f54c1807e562d7f (patch) | |
tree | 02c62ba4586bdbee6547461d17b4367fc86001a7 /features/steps/project/snippets.rb | |
parent | f7ed469ece5e113273b006dd64cc0d29243cfcde (diff) | |
download | gitlab-ce-45e11d95f27584f699392fad8f54c1807e562d7f.tar.gz |
fix spinach features to use new button wordings
Also fixed an accidental deletion of pratial
Diffstat (limited to 'features/steps/project/snippets.rb')
-rw-r--r-- | features/steps/project/snippets.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/project/snippets.rb b/features/steps/project/snippets.rb index db8ad08bb9e..811ded69558 100644 --- a/features/steps/project/snippets.rb +++ b/features/steps/project/snippets.rb @@ -42,13 +42,13 @@ class Spinach::Features::ProjectSnippets < Spinach::FeatureSteps end step 'I click link "Edit"' do - page.within ".file-title" do + page.within ".page-title" do click_link "Edit" end end - step 'I click link "Remove Snippet"' do - click_link "remove" + step 'I click link "Delete"' do + click_link "Delete" end step 'I submit new snippet "Snippet three"' do |