test/test_eat.rb in eat-0.1.7 vs test/test_eat.rb in eat-0.1.8
- old
+ new
@@ -84,6 +84,14 @@
end
def test_more_chunks
assert eat('http://www.ebay.com/itm/ws/eBayISAPI.dll?ViewItem&item=260910713854?_trksid=p5197.m1256&_trkparms=clkid%3D4726644202417880745').include?('<title>')
end
+
+ def test_ignores_anchor
+ assert eat('http://www.orbitgum.com/#/home').include?('Orbit')
+ end
+
+ def test_relative_redirect_handling
+ assert eat("http://www.crutchfield.com/p_054D3100/Nikon-D3100-Kit.html").include?('Product Information')
+ end
end