Skip to content

Commit

Permalink
Use new FakeWeb.register_uri API
Browse files Browse the repository at this point in the history
  • Loading branch information
tpope committed Nov 18, 2009
1 parent d9ff19b commit 592ee6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Expand Up @@ -13,7 +13,7 @@
response.instance_variable_set(:@body, File.read(file))
response.add_field "Content-type", "application/xml"
url = "http://www.pivotaltracker.com/services/v2/#{file.sub(/\.xml$/,'')}"
FakeWeb.register_uri(url, :response => response)
FakeWeb.register_uri(:get, url, :response => response)
end
end
end
Expand Down

0 comments on commit 592ee6d

Please sign in to comment.