Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
picman committed Dec 14, 2023
1 parent 44bc99b commit de3692e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/custom_workflow_mailer_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def test_truth
def test_custom_email
CustomWorkflowMailer.deliver_custom_email @user2, subject: 'Subject', text_body: 'Body', html_body: 'Body'
email = last_email
assert text_part(email).body.include? 'Body', text_part(email).body
assert html_part(email).body.include? 'Body', html_part(email).body
assert text_part(email).body.include?('Body'), text_part(email).body
assert html_part(email).body.include?('Body'), html_part(email).body
end

private
Expand Down

0 comments on commit de3692e

Please sign in to comment.