Sha256: 6d074af6b181c8bfa24c80c3f52f5b4c33fa46e18751617d5d5fea388c341c5d
Contents?: true
Size: 852 Bytes
Versions: 29
Compression:
Stored size: 852 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper") describe Braintree::ApplePayCard do describe "default?" do it "is true if the Apple pay card is the default payment method for the customer" do Braintree::ApplePayCard._new(:gateway, :default => true).default?.should == true end it "is false if the Apple pay card is not the default payment methodfor the customer" do Braintree::ApplePayCard._new(:gateway, :default => false).default?.should == false end end describe "expired?" do it "is true if the Apple pay card is expired" do Braintree::ApplePayCard._new(:gateway, :expired => true).expired?.should == true end it "is false if the Apple pay card is not expired" do Braintree::ApplePayCard._new(:gateway, :expired => false).expired?.should == false end end end
Version data entries
29 entries across 29 versions & 1 rubygems