Sha256: 5cce4459950830afb0d96e02e38dbc384252f762f227739fc4c212fc723cd635
Contents?: true
Size: 516 Bytes
Versions: 8
Compression:
Stored size: 516 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 end
Version data entries
8 entries across 8 versions & 1 rubygems