Sha256: ec47ead0c599ff6b6bec3f4ec68d5b85601ed84d41b6568405f0e48f291ddd95

Contents?: true

Size: 493 Bytes

Versions: 3

Compression:

Stored size: 493 Bytes

Contents

require_relative "test_helper"

class MailkickTest < Minitest::Test
  def test_unsubscribe_url
    message = UserMailer.welcome.deliver_now
    html_body = message.html_part.body.to_s
    assert_equal "<p>BAhbCUkiFXRlc3RAZXhhbXBsZS5vcmcGOgZFVDAwMA%3D%3D--f435e91ba90e1732d3e999af1f2126dcc8182a5d</p>", html_body
    text_body = message.text_part.body.to_s
    assert_equal "Boom: BAhbCUkiFXRlc3RAZXhhbXBsZS5vcmcGOgZFVDAwMA%3D%3D--f435e91ba90e1732d3e999af1f2126dcc8182a5d", text_body
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mailkick-0.2.1 test/mailkick_test.rb
mailkick-0.2.0 test/mailkick_test.rb
mailkick-0.1.6 test/mailkick_test.rb