Fix comment button test for slash commands

This commit is contained in:
Annabel Dunstone Gray 2017-01-26 11:06:17 -06:00
parent fe215dacb8
commit 40d4d6d69a
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ module SlashCommandsHelpers
Sidekiq::Testing.fake! do
page.within('.js-main-target-form') do
fill_in 'note[note]', with: text
click_button 'Comment'
find('.comment-btn').trigger('click')
end
end
end