Sha256: c37709d99bc569137199a13fbe065c482c7cb687aa66f26a386ac09dda44ab2f

Contents?: true

Size: 285 Bytes

Versions: 5

Compression:

Stored size: 285 Bytes

Contents

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

class GistTest < Test::Unit::TestCase

  def test_transform
    result = auto_html('https://gist.github.com/1710276') { gist }
    assert_equal '<script src="https://gist.github.com/1710276.js"></script>', result
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
auto_html-1.5.1.1 test/unit/filters/gist_test.rb
auto_html-1.6.0 test/unit/filters/gist_test.rb
auto_html-1.5.3 test/unit/filters/gist_test.rb
auto_html-1.5.2 test/unit/filters/gist_test.rb
auto_html-1.5.1 test/unit/filters/gist_test.rb