Sha256: 02a1ff8046215d171358d7b39ec57547c15955053c05202f4bf846cffd878acd

Contents?: true

Size: 499 Bytes

Versions: 1

Compression:

Stored size: 499 Bytes

Contents

require File.expand_path('../../unit_test_helper', __FILE__)

class SimpleFormatTest < Minitest::Test

  def test_transform
    result = auto_html('Hey check out my blog => http://rors.org') { simple_format }
    assert_equal '<p>Hey check out my blog => http://rors.org</p>', result
  end

  def test_trasform2
    result = auto_html('Hey check out my code => http://github.com/dejan') { simple_format }
    assert_equal '<p>Hey check out my code => http://github.com/dejan</p>', result
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
auto_html-whistlerbrk-2.0.0.pre test/unit/filters/simple_format_test.rb