test/test_eat.rb in eat-0.0.5 vs test/test_eat.rb in eat-0.0.6
- old
+ new
@@ -15,9 +15,13 @@
def test_filesystem
assert eat(__FILE__).include?('class TestEat < Test::Unit::TestCase')
end
+ def test_filesystem_uri
+ assert eat("file://#{File.expand_path(__FILE__)}").include?('class TestEat < Test::Unit::TestCase')
+ end
+
def test_http
assert eat('http://brighterplanet.com/robots.txt').include?('User-agent')
end
def test_https