require File.dirname(__FILE__) + '/../unit_test_helper'
class VimeoTest < Test::Unit::TestCase
def test_transform_url_with_www
result = auto_html('http://www.vimeo.com/3300155') { vimeo }
assert_equal '', result
end
def test_transform_url_without_www
result = auto_html('http://vimeo.com/3300155') { vimeo }
assert_equal '', result
end
def test_transform_url_with_params
result = auto_html('http://vimeo.com/4635843?pg=embed&sec=') { vimeo }
assert_equal '', result
end
def test_transform_url_with_anchor
result = auto_html('http://vimeo.com/4695198#skirt') { vimeo }
assert_equal '', result
end
def test_transform_with_options
result = auto_html("http://www.vimeo.com/1472714") { vimeo(:width => 300, :height => 250) }
assert_equal '', result
end
end