summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-12-08 16:13:23 -0600
committerMike Greiling <mike@pixelcog.com>2016-12-10 00:57:23 -0600
commit7f3fc26ec98193fa0c3bfeb7b78c81176bb9c689 (patch)
tree9c47f4e7aca154f02acf6d89d2e11fcfc761296c /features
parent68c1e3a1568d9f61bf1e01d6ff55ce59c5c3eaaf (diff)
downloadgitlab-ce-7f3fc26ec98193fa0c3bfeb7b78c81176bb9c689.tar.gz
fix failing tests
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/snippets.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/snippets.rb b/features/steps/project/snippets.rb
index 5e7d539add6..a3bebfa4b71 100644
--- a/features/steps/project/snippets.rb
+++ b/features/steps/project/snippets.rb
@@ -22,7 +22,7 @@ class Spinach::Features::ProjectSnippets < Spinach::FeatureSteps
end
step 'I click link "New snippet"' do
- click_link "New snippet"
+ first(:link, "New snippet").click
end
step 'I click link "Snippet one"' do