spec/unit/braintree/configuration_spec.rb in braintree-2.12.0 vs spec/unit/braintree/configuration_spec.rb in braintree-2.13.0
- old
+ new
@@ -193,9 +193,14 @@
it "is sandbox.braintreegateway.com for sandbox" do
Braintree::Configuration.environment = :sandbox
Braintree::Configuration.instantiate.server.should == "sandbox.braintreegateway.com"
end
+
+ it "is qa.braintreegateway.com for qa" do
+ Braintree::Configuration.environment = :qa
+ Braintree::Configuration.instantiate.server.should == "qa.braintreegateway.com"
+ end
end
describe "ssl?" do
it "returns false for development" do
Braintree::Configuration.environment = :development