lib/fake_braintree/address.rb in fake_braintree-0.4 vs lib/fake_braintree/address.rb in fake_braintree-0.4.1
- old
+ new
@@ -16,10 +16,10 @@
def customer
FakeBraintree.registry.customers[@hash['customer_id']]
end
def response_for_updated_address
- gzipped_response(200, @hash.to_xml(:root => 'address'))
+ gzipped_response(200, @hash.to_xml(root: 'address'))
end
def set_up_address(address_hash_from_params, options)
@hash = {
"merchant_id" => options[:merchant_id],