Sha256: c4a30977055a03240ebc503659c9396d642b571d5adba125733bc73b332062b1
Contents?: true
Size: 488 Bytes
Versions: 1
Compression:
Stored size: 488 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 def test_transform_with_username result = auto_html('https://gist.github.com/toctan/6547840') { gist } assert_equal '<script src="https://gist.github.com/6547840.js"></script>', result end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
auto_html-1.6.1 | test/unit/filters/gist_test.rb |