Sha256: da2549bf6290ae7d505cac839c1f85da2a3ae7412ac8c367cc7f11ac386f7c16
Contents?: true
Size: 383 Bytes
Versions: 4
Compression:
Stored size: 383 Bytes
Contents
require 'test_helper' class URLSourceResolverTest < Test::Unit::TestCase def setup @resolver = FormattedURL::URLSourceResolver.new('http://youtube.com') end def test_find_youtube_as_source assert_equal(:youtube, @resolver.source) end def test_default_source_for_url @resolver.path = "http://google.com" assert_equal(:default, @resolver.source) end end
Version data entries
4 entries across 4 versions & 1 rubygems