Sha256: 23a90b1e1f228e3a19d177978f810e80a7c217b705692a4ae7ce3444fe0ec0fd
Contents?: true
Size: 908 Bytes
Versions: 3
Compression:
Stored size: 908 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper") describe Braintree::Transaction::CustomerDetails do describe "inspect" do it "inspects" do details = Braintree::Transaction::CustomerDetails.new( :id => "id", :first_name => "Amy", :last_name => "Smith", :email => "amy.smith@example.com", :company => "Smith Co.", :website => "http://www.example.com", :phone => "6145551234", :international_phone => {:country_code=>"1", :national_number=>"3121234567"}, :fax => "3125551234", ) expect(details.inspect).to eq(%(#<id: "id", first_name: "Amy", last_name: "Smith", email: "amy.smith@example.com", company: "Smith Co.", website: "http://www.example.com", phone: "6145551234", international_phone: {:country_code=>\"1\", :national_number=>\"3121234567\"}, fax: "3125551234">)) end end end
Version data entries
3 entries across 3 versions & 1 rubygems