diff options
Diffstat (limited to 'spec/support/helpers/content_editor_helpers.rb')
-rw-r--r-- | spec/support/helpers/content_editor_helpers.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/helpers/content_editor_helpers.rb b/spec/support/helpers/content_editor_helpers.rb index a6cc2560d0b..7597a13e475 100644 --- a/spec/support/helpers/content_editor_helpers.rb +++ b/spec/support/helpers/content_editor_helpers.rb @@ -9,6 +9,10 @@ module ContentEditorHelpers end end + def switch_to_markdown_editor + click_button("Switch to plain text editing") + end + def switch_to_content_editor click_button("Switch to rich text editing") end |