test/test_scheme.rb in mechanize-2.0.pre.2 vs test/test_scheme.rb in mechanize-2.0

- old
+ new

@@ -38,10 +38,10 @@ path = URI.parse(link.href).path page = link.click assert_equal(File.read(path), page.body) - link = page.meta.first + link = page.meta_refresh.first assert_not_nil(link) page = @agent.click(link) assert_equal("http://localhost/index.html", @agent.history.last.uri.to_s) end end