Sha256: 490f322c9699d4c27bf9f8417864a9d63c136e259d2d87fb116c79e63d71db05

Contents?: true

Size: 295 Bytes

Versions: 3

Compression:

Stored size: 295 Bytes

Contents

require File.dirname(__FILE__) + '/../unit_test_helper'

class YouTubeImageTest < Test::Unit::TestCase

  def test_transform
    result = auto_html('http://www.youtube.com/watch?v=BwNrmYRiX_o') { youtube_image }
    assert_equal 'http://i1.ytimg.com/vi/BwNrmYRiX_o/default.jpg', result
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
marcosinger-auto_html-1.3.6 test/unit/filters/youtube_image_test.rb
marcosinger-auto_html-1.3.5 test/unit/filters/youtube_image_test.rb
marcosinger-auto_html-1.3.4 test/unit/filters/youtube_image_test.rb