Sha256: 178f8ea5a387962800605803e9608c35400628e54e724364185bf0672f6aa086
Contents?: true
Size: 646 Bytes
Versions: 2
Compression:
Stored size: 646 Bytes
Contents
require File.expand_path('../../unit_test_helper', __FILE__) class LiveLeakTest < Test::Unit::TestCase def test_transform result = auto_html('http://www.liveleak.com/view?i=BwNrmYRiX_o') { liveleak } assert_equal '<iframe width="420" height="315" src="http://www.liveleak.com/ll_embed?f=BwNrmYRiX_o" frameborder="0" allowfullscreen></iframe>', result end def test_transform2 result = auto_html('http://www.liveleak.com/ll_embed?f=ef8304ab85e5') { liveleak } assert_equal '<iframe width="420" height="315" src="http://www.liveleak.com/ll_embed?f=ef8304ab85e5" frameborder="0" allowfullscreen></iframe>', result end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
auto_html-1.6.4 | test/unit/filters/liveleak_test.rb |
auto_html-1.6.3 | test/unit/filters/liveleak_test.rb |