Skip to content

Commit

Permalink
Add spec coverage for previous commitw
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Remsik authored and Jim Remsik committed Apr 17, 2011
1 parent cfc805f commit 7d017bd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/remote/gateways/remote_payleap_test.rb
Expand Up @@ -53,6 +53,20 @@ def test_unsuccessful_purchase
# assert_equal 'REPLACE WITH FAILED PURCHASE MESSAGE', response.message
end

def test_handle_potential_octal_values
credit_card = ActiveMerchant::Billing::CreditCard.new(
:type => "american_express",
:number => "374255312721002",
:verification_value => "123",
:month => "08",
:year => "2012",
:first_name => "John",
:last_name => "Doe"
)
assert response = @gateway.purchase(@amount, credit_card, @options)
assert_success response
end

def test_custom_login_and_password
gateway = PayLeapGateway.new(
:login => '',
Expand Down

0 comments on commit 7d017bd

Please sign in to comment.