spec/unit/braintree/configuration_spec.rb in braintree-1.1.3 vs spec/unit/braintree/configuration_spec.rb in braintree-1.2.0
- old
+ new
@@ -42,24 +42,24 @@
describe "self.ca_file" do
it "qa" do
Braintree::Configuration.environment = :qa
ca_file = Braintree::Configuration.ca_file
- ca_file.should match(/valicert_ca.crt$/)
+ ca_file.should match(/sandbox_braintreegateway_com.ca.crt$/)
File.exists?(ca_file).should == true
end
it "sandbox" do
Braintree::Configuration.environment = :sandbox
ca_file = Braintree::Configuration.ca_file
- ca_file.should match(/valicert_ca.crt$/)
+ ca_file.should match(/sandbox_braintreegateway_com.ca.crt$/)
File.exists?(ca_file).should == true
end
it "production" do
Braintree::Configuration.environment = :production
ca_file = Braintree::Configuration.ca_file
- ca_file.should match(/securetrust_ca.crt$/)
+ ca_file.should match(/www_braintreegateway_com.ca.crt$/)
File.exists?(ca_file).should == true
end
end
describe "self.environment" do