spec/integration/spec_helper.rb in braintree-2.45.0 vs spec/integration/spec_helper.rb in braintree-2.46.0
- old
+ new
@@ -22,10 +22,10 @@
Process.kill "INT", File.read(web_server_pid_file).to_i
end
def create_modification_for_tests(attributes)
config = Braintree::Configuration.gateway.config
- config.http.post "/modifications/create_modification_for_tests", :modification => attributes
+ config.http.post("#{config.base_merchant_path}/modifications/create_modification_for_tests", :modification => attributes)
end
def with_other_merchant(merchant_id, public_key, private_key, &block)
old_merchant_id = Braintree::Configuration.merchant_id
old_public_key = Braintree::Configuration.public_key