Skip to content

Commit

Permalink
Check success message instead of job scheduling
Browse files Browse the repository at this point in the history
  • Loading branch information
stage-rl committed Dec 6, 2023
1 parent ccf71e2 commit 1108793
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/system/message_threads_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,11 @@ class MessageThreadsTest < ApplicationSystemTestCase
end

within '#new_drafts' do
fill_in "Predmet", with: "Testovaci predmet"
fill_in "Text", with: "Testovacie telo"
fill_in "Predmet", with: "Testovaci predmet"
click_button "Odoslať"
end

assert GoodJob::Job.where(job_class: 'Govbox::SubmitMessageDraftJob').exists?
assert_text "Správa bola zaradená na odoslanie"
end
end

0 comments on commit 1108793

Please sign in to comment.