#NEWLINE# def test_update_verifies_card_with_non_default_merchant_account( self ) : #NEWLINE# #INDENT# customer = Customer . create ( ) . customer #NEWLINE# credit_card = CreditCard . create ( { #NEWLINE# #INDENT# 'customer_id' : result . id , #NEWLINE# 'number' : '4111111111111111' , #NEWLINE# 'expiration_date' : '05/2014' , #NEWLINE# 'cvv' : '100' , #NEWLINE# 'cardholder_name' : 'John Doe' , #NEWLINE# #UNINDENT# } ) . credit_card #NEWLINE# result = CreditCard . update ( credit_card . token , { #NEWLINE# #INDENT# 'number' : '4000111111111115' , #NEWLINE# 'expiration_date' : '06/2010' , #NEWLINE# 'cvv' : '123' , #NEWLINE# 'cardholder_name' : 'Jane Jones' , #NEWLINE# 'options' : { #NEWLINE# #INDENT# 'verification_merchant_account_id' : TestHelper . non_default_merchant_account_id , #NEWLINE# 'verify_card' : True , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertFalse ( result . is_success ) #NEWLINE# self . assertEquals ( CreditCardVerification . Status . ProcessorDeclined , result . credit_card_verification . status )