Sha256: 9ac522e2982f8b1af056a324af7a99af5c6479d6a9c0fae0b0aa5bb42d25a9d1
Contents?: true
Size: 614 Bytes
Versions: 11
Compression:
Stored size: 614 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), ) details.valid?.should == true end it "returns true if disbursement details are initialized" do details = Braintree::Transaction::DisbursementDetails.new( :disbursement_date => nil, ) details.valid?.should == false end end end
Version data entries
11 entries across 11 versions & 1 rubygems