spec/spec_helper.rb in braintree-2.0.0 vs spec/spec_helper.rb in braintree-2.1.0

- old
+ new

@@ -15,9 +15,13 @@ Braintree::Configuration.private_key = "integration_private_key" Braintree::Configuration.logger = Logger.new("/dev/null") Braintree::Configuration.logger.level = Logger::INFO module SpecHelper + + DefaultMerchantAccountId = "sandbox_credit_card" + NonDefaultMerchantAccountId = "sandbox_credit_card_non_default" + def self.stub_time_dot_now(desired_time) Time.class_eval do class << self alias original_now now end