spec/unit/braintree/transaction_spec.rb in braintree-2.65.0 vs spec/unit/braintree/transaction_spec.rb in braintree-2.66.0
- old
+ new
@@ -129,10 +129,11 @@
:healthcare => "Yes",
:durbin_regulated => "Yes",
:debit => "Yes",
:commercial => "No",
:payroll => "Unknown",
+ :product_id => "Unknown",
:country_of_issuance => "Narnia",
:issuing_bank => "Mr Tumnus"
}
)
transaction.credit_card_details.token.should == "mzg2"
@@ -145,9 +146,11 @@
transaction.credit_card_details.prepaid.should == Braintree::CreditCard::Prepaid::Yes
transaction.credit_card_details.healthcare.should == Braintree::CreditCard::Healthcare::Yes
transaction.credit_card_details.durbin_regulated.should == Braintree::CreditCard::DurbinRegulated::Yes
transaction.credit_card_details.debit.should == Braintree::CreditCard::Debit::Yes
transaction.credit_card_details.commercial.should == Braintree::CreditCard::Commercial::No
+ transaction.credit_card_details.payroll.should == Braintree::CreditCard::Payroll::Unknown
+ transaction.credit_card_details.product_id.should == Braintree::CreditCard::ProductId::Unknown
transaction.credit_card_details.country_of_issuance.should == "Narnia"
transaction.credit_card_details.issuing_bank.should == "Mr Tumnus"
end
it "sets up three_d_secure_info" do