blob: df483afa0e371cd870ecba7a2b9410d879af3442 (
plain)
1
2
3
4
5
6
7
8
9
10
|
module SlashCommandsHelpers
def write_note(text)
Sidekiq::Testing.fake! do
page.within('.js-main-target-form') do
fill_in 'note[note]', with: text
click_button 'Comment'
end
end
end
end
|