diff --git a/.github/workflows/rubyonrails.yml b/.github/workflows/rubyonrails.yml index 667af85..68e702a 100644 --- a/.github/workflows/rubyonrails.yml +++ b/.github/workflows/rubyonrails.yml @@ -21,9 +21,9 @@ name: "GitHub CI" on: push: - branches: ["devel"] + branches: ["test"] pull_request: - branches: ["devel"] + branches: ["test"] jobs: plugin_tests: strategy: diff --git a/test/unit/custom_workflow_mailer_test.rb b/test/unit/custom_workflow_mailer_test.rb index ed5ba90..d54e832 100644 --- a/test/unit/custom_workflow_mailer_test.rb +++ b/test/unit/custom_workflow_mailer_test.rb @@ -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' - assert html_part(email).body.include? '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