The nice new braintree_orange

P

Phlip

def test_successful_purchase
@gateway.expects:)ssl_post).returns(successful_purchase_response)
assert response = @gateway.authorize(@amount, @credit_card,
@options)
assert_instance_of Response, response
assert_success response
assert_equal '510695343', response.authorization
end
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,120
Latest member
ShelaWalli
Top