summaryrefslogtreecommitdiff
path: root/spec/support/helpers/features/notes_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/features/notes_helpers.rb')
-rw-r--r--spec/support/helpers/features/notes_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/helpers/features/notes_helpers.rb b/spec/support/helpers/features/notes_helpers.rb
index 78774b515df..7973d541f9c 100644
--- a/spec/support/helpers/features/notes_helpers.rb
+++ b/spec/support/helpers/features/notes_helpers.rb
@@ -41,7 +41,7 @@ module Features
wait_for_requests
filled_text.send_keys(:escape)
- click_on('Preview')
+ click_button("Preview")
yield if block_given?
end