2017-05-31 01:50:53 -04:00
|
|
|
module QuickActionsHelpers
|
2016-09-08 18:51:35 -04:00
|
|
|
def write_note(text)
|
|
|
|
Sidekiq::Testing.fake! do
|
|
|
|
page.within('.js-main-target-form') do
|
|
|
|
fill_in 'note[note]', with: text
|
2017-06-17 02:08:27 -04:00
|
|
|
find('.js-comment-submit-button').click
|
2016-09-08 18:51:35 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|