Sha256: 169aa45a4e7e3c63c0d8eba873cc8a91816b93ec1e5a332c2e71a2dec5497ef5
Contents?: true
Size: 629 Bytes
Versions: 9
Compression:
Stored size: 629 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper") describe Braintree::Transaction::DisbursementDetails do describe "valid?" do it "returns true if disbursement details are initialized" do details = Braintree::Transaction::DisbursementDetails.new( :disbursement_date => Date.new(2013, 4, 1).to_s, ) expect(details.valid?).to eq(true) end it "returns true if disbursement details are initialized" do details = Braintree::Transaction::DisbursementDetails.new( :disbursement_date => nil, ) expect(details.valid?).to eq(false) end end end
Version data entries
9 entries across 9 versions & 1 rubygems