spec/integration/braintree/customer_spec.rb in braintree-2.25.0 vs spec/integration/braintree/customer_spec.rb in braintree-2.26.0
- old
+ new
@@ -51,16 +51,17 @@
result.customer.website.should == "www.microsoft.com"
result.customer.created_at.between?(Time.now - 10, Time.now).should == true
result.customer.updated_at.between?(Time.now - 10, Time.now).should == true
end
- it "supports creation with a device session ID" do
+ it "supports creation with a device session ID and (optional) fraud_merchant_id" do
result = Braintree::Customer.create(
:credit_card => {
:number => Braintree::Test::CreditCardNumbers::MasterCard,
:expiration_date => "05/2010",
:cvv => "100",
- :device_session_id => "abc123"
+ :device_session_id => "abc123",
+ :fraud_merchant_id => "7"
}
)
result.should be_success
end