Commit 130a1e86 authored by Douwe Maan's avatar Douwe Maan
Browse files

Fix specs

parent 760fd1ce7a98
......@@ -3,7 +3,7 @@ def write_note(text)
Sidekiq::Testing.fake! do
page.within('.js-main-target-form') do
fill_in 'note[note]', with: text
find('.comment-btn').trigger('click')
find('.js-comment-submit-button').trigger('click')
end
end
end
......
......@@ -77,6 +77,6 @@
def submit_time(slash_command)
fill_in 'note[note]', with: slash_command
find('.comment-btn').trigger('click')
find('.js-comment-submit-button').trigger('click')
wait_for_ajax
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment