spec/cli_spec.rb in veritrans-2.1.3 vs spec/cli_spec.rb in veritrans-2.2.0

- old
+ new

@@ -25,11 +25,11 @@ @request.headers["User-Agent"].should == "Veritrans gem #{Veritrans::VERSION} - webhook tester" end it "should raise error if payment not found" do CONFIG[:order] = "1111-not-exists" - CONFIG[:config_path] = "./example/veritrans.yml" + CONFIG[:config_path] = "./example/sinatra/veritrans.yml" VCR.use_cassette("cli_test_not_exists") do silence_stream(STDOUT) do expect { Veritrans::CLI.test_webhook(["http://example.com"]) @@ -62,10 +62,10 @@ end end it "should send real data as json" do CONFIG[:order] = "testing-0.2703-1415600236" - CONFIG[:config_path] = "./example/veritrans.yml" + CONFIG[:config_path] = "./example/sinatra/veritrans.yml" VCR.use_cassette("cli_test_real_txn") do silence_stream(STDOUT) do Veritrans::CLI.test_webhook(["http://example.com"]) end \ No newline at end of file