Commit a7ab531e authored by Douwe Maan's avatar Douwe Maan
Browse files

Fix specs

parent 760fd1ce7a98
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Sidekiq::Testing.fake! do Sidekiq::Testing.fake! do
page.within('.js-main-target-form') do page.within('.js-main-target-form') do
fill_in 'note[note]', with: text fill_in 'note[note]', with: text
find('.comment-btn').trigger('click') find('.js-comment-submit-button').trigger('click')
end end
end end
end end
......
...@@ -77,6 +77,6 @@ ...@@ -77,6 +77,6 @@
def submit_time(slash_command) def submit_time(slash_command)
fill_in 'note[note]', with: slash_command fill_in 'note[note]', with: slash_command
find('.comment-btn').trigger('click') find('.js-comment-submit-button').trigger('click')
wait_for_ajax wait_for_ajax
end end
Supports Markdown
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