summaryrefslogtreecommitdiff
path: root/features/steps/shared/diff_note.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-04 13:52:29 +0000
committerPhil Hughes <me@iamphill.com>2016-03-04 13:52:29 +0000
commitf95f242cfad4fb0032caecea47964d78c1f652bc (patch)
tree64eda730178fdfdd65f32dfbef76d1dda059107b /features/steps/shared/diff_note.rb
parentb1264d86fa0772860b284893a3bf129bec35cb0d (diff)
downloadgitlab-ce-f95f242cfad4fb0032caecea47964d78c1f652bc.tar.gz
Updated tests
Diffstat (limited to 'features/steps/shared/diff_note.rb')
-rw-r--r--features/steps/shared/diff_note.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/shared/diff_note.rb b/features/steps/shared/diff_note.rb
index 06e69441894..906b66a4a63 100644
--- a/features/steps/shared/diff_note.rb
+++ b/features/steps/shared/diff_note.rb
@@ -93,14 +93,14 @@ module SharedDiffNote
page.within("form[id$='#{sample_commit.line_code}']") do
fill_in 'note[note]', with: ':smile:'
- click_button('Add Comment')
+ click_button('Comment')
end
end
end
step 'I submit the diff comment' do
page.within(diff_file_selector) do
- click_button("Add Comment")
+ click_button("Comment")
end
end