summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-04 10:44:04 +0000
committerPhil Hughes <me@iamphill.com>2016-03-04 10:44:04 +0000
commitda6e38a889d4725a50fbe0bf8a3ca1d3e53d01c3 (patch)
tree6dbe767aa14e16260de1f3c0d46c01cd8c9aa3a4 /features
parente033b9a7f19223e4fbad6fa3c712c82f49e47244 (diff)
downloadgitlab-ce-da6e38a889d4725a50fbe0bf8a3ca1d3e53d01c3.tar.gz
Fixed tests for comment forms
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 504654f90dd..786a0cad975 100644
--- a/features/steps/project/snippets.rb
+++ b/features/steps/project/snippets.rb
@@ -77,7 +77,7 @@ class Spinach::Features::ProjectSnippets < Spinach::FeatureSteps
step 'I leave a comment like "Good snippet!"' do
page.within('.js-main-target-form') do
fill_in "note_note", with: "Good snippet!"
- click_button "Add Comment"
+ click_button "Comment"
end
end