spec/savon/http/error_spec.rb in savon-0.8.0.beta.4 vs spec/savon/http/error_spec.rb in savon-0.8.0
- old
+ new
@@ -41,10 +41,10 @@
http_error.to_hash.should == { :code => 404, :headers => {}, :body => "Not Found" }
end
end
def new_response(options = {})
- defaults = { :code => 200, :headers => {}, :body => ResponseFixture.authentication }
+ defaults = { :code => 200, :headers => {}, :body => Fixture.response(:authentication) }
response = defaults.merge options
HTTPI::Response.new response[:code], response[:headers], response[:body]
end