diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-04-07 20:03:39 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-04-07 20:03:39 -0500 |
commit | 130a1e86e215d5d43cd3c53a44589aa5b8c69aab (patch) | |
tree | 9dafdf605a1391beafcef22f59af370bb5033869 /spec | |
parent | c8cea68fe07af46c3a4c8c6429d10473e09d557b (diff) | |
download | gitlab-ce-130a1e86e215d5d43cd3c53a44589aa5b8c69aab.tar.gz |
Fix specs
Diffstat (limited to 'spec')
-rw-r--r-- | spec/support/slash_commands_helpers.rb | 2 | ||||
-rw-r--r-- | spec/support/time_tracking_shared_examples.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/slash_commands_helpers.rb b/spec/support/slash_commands_helpers.rb index 0d91fe5fd5d..4bfe481115f 100644 --- a/spec/support/slash_commands_helpers.rb +++ b/spec/support/slash_commands_helpers.rb @@ -3,7 +3,7 @@ module SlashCommandsHelpers 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 diff --git a/spec/support/time_tracking_shared_examples.rb b/spec/support/time_tracking_shared_examples.rb index 52f4fabdc47..01bc80f957e 100644 --- a/spec/support/time_tracking_shared_examples.rb +++ b/spec/support/time_tracking_shared_examples.rb @@ -77,6 +77,6 @@ end 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 |