Browse files

Fix deprecation warnings from FakeWeb

  • Loading branch information...
1 parent 91d7c20 commit 5bf1b499b2555651e35f32709f4586ef7cb167e8 @alexrabarts committed Oct 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_helper.rb
View
2 test/test_helper.rb
@@ -12,7 +12,7 @@ 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

0 comments on commit 5bf1b49

Please sign in to comment.