test/test_helper.rb in term_extraction-0.1.4 vs test/test_helper.rb in term_extraction-0.1.5

- old
+ new

@@ -10,10 +10,10 @@ class Test::Unit::TestCase def fake_uri(method, uri, fixture) FakeWeb.clean_registry FakeWeb.allow_net_connect = false response = File.open(File.join(File.dirname(__FILE__), 'fixtures', fixture)).read - FakeWeb.register_uri(method, uri.to_s, :string => response) + FakeWeb.register_uri(method, uri.to_s, :body => response) end def teardown FakeWeb.allow_net_connect = true FakeWeb.clean_registry