diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-18 21:34:07 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-18 21:34:07 +0200 |
commit | 8841eec426d7213de6cc381b0898be1a14e418e5 (patch) | |
tree | a8cadf2213ab903d325fb655a7f6c47db552aa21 /features/steps/snippets | |
parent | 6d125d477169f93834a1b6a78da39baa77f41968 (diff) | |
download | gitlab-ce-8841eec426d7213de6cc381b0898be1a14e418e5.tar.gz |
Improve snippets UX
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/steps/snippets')
-rw-r--r-- | features/steps/snippets/snippets.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/snippets/snippets.rb b/features/steps/snippets/snippets.rb index bbdf5b97c84..1aea01f6cdf 100644 --- a/features/steps/snippets/snippets.rb +++ b/features/steps/snippets/snippets.rb @@ -19,7 +19,7 @@ class SnippetsFeature < Spinach::FeatureSteps end And 'I click link "Destroy"' do - click_link "Destroy" + click_link "Remove" end And 'I submit new snippet "Personal snippet three"' do @@ -46,7 +46,7 @@ class SnippetsFeature < Spinach::FeatureSteps end And 'I uncheck "Private" checkbox' do - find(:xpath, "//input[@id='personal_snippet_private']").set true + choose "Public" click_button "Save" end |