test/mailkick_test.rb in mailkick-0.3.0 vs test/mailkick_test.rb in mailkick-0.3.1

- old
+ new

@@ -2,12 +2,12 @@ class MailkickTest < Minitest::Test def test_unsubscribe_url message = UserMailer.welcome.deliver_now html_body = message.html_part.body.to_s - assert_includes html_body, "BAhbCUkiFXRlc3RAZXhhbXBsZS5vcmcGOgZFVDAwMA==--f435e91ba90e1732d3e999af1f2126dcc8182a5d" + assert_includes html_body, "unsubscribe" text_body = message.text_part.body.to_s - assert_includes text_body, "BAhbCUkiFXRlc3RAZXhhbXBsZS5vcmcGOgZFVDAwMA==--f435e91ba90e1732d3e999af1f2126dcc8182a5d" + assert_includes text_body, "unsubscribe" end def test_opt_out email = "test2@example.org" user = User.create!(email: email)