test/test_eat.rb in eat-0.1.4 vs test/test_eat.rb in eat-0.1.5
- old
+ new
@@ -76,6 +76,10 @@
end
def test_chunks_work_out
assert eat('http://www.thinkgeek.com/interests/giftsforhim/60b6/').include?('DOCTYPE HTML PUBLIC')
end
+
+ def test_satisfies_sites_that_require_user_agent
+ assert eat('http://www.bestbuy.com').include?('images.bestbuy.com')
+ end
end