Sha256: 5ec837c7e50da3cd3434fdeba335b2754b6cb2d061609ae537085e748a0f1d73

Contents?: true

Size: 326 Bytes

Versions: 7

Compression:

Stored size: 326 Bytes

Contents

require 'test_helper'

class MaildownTest < ActiveSupport::TestCase
  test "parse md response" do
    md = ::Maildown::Md.new(full_responses)
    assert md.contains_md?
    assert_equal parses_responses, md.to_responses
  end

  test "no md in response" do
    md = ::Maildown::Md.new([])
    refute md.contains_md?
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
maildown-2.0.1 test/unit/maildown_test.rb
maildown-2.0.0 test/unit/maildown_test.rb
maildown-1.0.4 test/unit/maildown_test.rb
maildown-1.0.3 test/unit/maildown_test.rb
maildown-1.0.2 test/unit/maildown_test.rb
maildown-1.0.1 test/unit/maildown_test.rb
maildown-1.0.0 test/unit/maildown_test.rb