X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=test%2Fwebsite_test.rb;h=2c3f25db9e77d194dc4123ed7acf0a510ca78add;hb=34e42ad8644d4f25b2dc3734abf7407055e9992c;hp=ff5f0551dd8b2e7a78cf4694e5b4deff6943ef8d;hpb=83e06f83d8274cb32a406739839d56e759664b09;p=dead%2Fwhatever-dl.git diff --git a/test/website_test.rb b/test/website_test.rb index ff5f055..2c3f25d 100644 --- a/test/website_test.rb +++ b/test/website_test.rb @@ -29,9 +29,10 @@ end class WebsiteTest < Test::Unit::TestCase def test_nobody_owns_misc_urls - assert_nil(Website.create('6807')) - assert_nil(Website.create('www')) - assert_nil(Website.create('http')) + # These should wind up + assert(Website.create('6807').class() == Generic ) + assert(Website.create('www').class() == Generic) + assert(Website.create('http').class() == Generic) end