blob: 361190aa3521ed0ef2999b96b4c8d3facfbcc251 (
plain)
1
2
3
4
5
6
7
8
9
10
|
module QuickActionsHelpers
def write_note(text)
Sidekiq::Testing.fake! do
page.within('.js-main-target-form') do
fill_in 'note[note]', with: text
find('.js-comment-submit-button').click
end
end
end
end
|