Skip to content

Commit 592ee6d

Browse files
committed
Use new FakeWeb.register_uri API
1 parent d9ff19b commit 592ee6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
response.instance_variable_set(:@body, File.read(file))
1414
response.add_field "Content-type", "application/xml"
1515
url = "http://www.pivotaltracker.com/services/v2/#{file.sub(/\.xml$/,'')}"
16-
FakeWeb.register_uri(url, :response => response)
16+
FakeWeb.register_uri(:get, url, :response => response)
1717
end
1818
end
1919
end

0 commit comments

Comments
 (0)