Sha256: 00ad8c4af296ea9e359690b56018cff7ccbeb11eba6f71fb177025b076319819
Contents?: true
Size: 855 Bytes
Versions: 9
Compression:
Stored size: 855 Bytes
Contents
require File.dirname(__FILE__) + "/../spec_helper" describe Braintree::CreditCardVerification do describe "inspect" do it "is better than the default inspect" do verification = Braintree::CreditCardVerification._new( :status => "verified", :avs_error_response_code => "I", :avs_postal_code_response_code => "I", :avs_street_address_response_code => "I", :cvv_response_code => "I", :processor_response_code => "2000", :processor_response_text => "Do Not Honor" ) verification.inspect.should == %(#<Braintree::CreditCardVerification status: "verified", processor_response_code: "2000", processor_response_text: "Do Not Honor", cvv_response_code: "I", avs_error_response_code: "I", avs_postal_code_response_code: "I", avs_street_address_response_code: "I">) end end end
Version data entries
9 entries across 9 versions & 1 rubygems