spec/veritrans_client_spec.rb in veritrans-2.1.3 vs spec/veritrans_client_spec.rb in veritrans-2.2.0
- old
+ new
@@ -19,10 +19,10 @@
{body: request.body}
})
result = Veritrans.request_with_logging(:get, Veritrans.config.api_host + "/ping", {})
- api_request.headers["Host"].should == "api.sandbox.veritrans.co.id:443"
+ api_request.headers["Host"].should == "api.sandbox.midtrans.com:443"
end
it "should use Veritrans.http_options to attach hedaers", vcr: false do
Veritrans.config.stub(:http_options) do
{ headers: { "X-Rspec" => "ok" } }
\ No newline at end of file