summaryrefslogtreecommitdiff
path: root/features/steps/snippets/snippets.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-05-19 10:01:27 +0100
committerPhil Hughes <me@iamphill.com>2016-05-19 10:01:27 +0100
commitd53bfcb0bb320d0f182ba7967dba7be3be4e3280 (patch)
tree940bd3edd6c3e26aaf6a7ae9af20f4d1ff0ccbb6 /features/steps/snippets/snippets.rb
parentda5f0b9119d4f8c911db30557a04d14ff7406e5f (diff)
downloadgitlab-ce-snippets-ui.tar.gz
Updated snippets testssnippets-ui
Diffstat (limited to 'features/steps/snippets/snippets.rb')
-rw-r--r--features/steps/snippets/snippets.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/snippets/snippets.rb b/features/steps/snippets/snippets.rb
index 023032e679f..19366b11071 100644
--- a/features/steps/snippets/snippets.rb
+++ b/features/steps/snippets/snippets.rb
@@ -14,12 +14,12 @@ class Spinach::Features::Snippets < Spinach::FeatureSteps
step 'I click link "Edit"' do
page.within ".detail-page-header" do
- click_link "Edit"
+ first(:link, "Edit").click
end
end
step 'I click link "Delete"' do
- click_link "Delete"
+ first(:link, "Delete").click
end
step 'I submit new snippet "Personal snippet three"' do