Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change spelling from purcahse to purchase

  • Loading branch information...
commit 4ceed9571ca6059166fc5d4e4cc8b38fd19dfbc1 1 parent e8048d9
@mnoack mnoack authored
View
2  generators/gateway/templates/gateway_test.rb
@@ -44,6 +44,6 @@ def successful_purchase_response
end
# Place raw failed response from gateway here
- def failed_purcahse_response
+ def failed_purchase_response
end
end
View
4 test/unit/gateways/sallie_mae_test.rb
@@ -24,7 +24,7 @@ def test_successful_purchase
end
def test_unsuccessful_request
- @gateway.expects(:ssl_post).returns(failed_purcahse_response)
+ @gateway.expects(:ssl_post).returns(failed_purchase_response)
assert response = @gateway.purchase(@amount, @credit_card, @options)
assert_failure response
@@ -47,7 +47,7 @@ def successful_purchase_response
end
# Place raw failed response from gateway here
- def failed_purcahse_response
+ def failed_purchase_response
"Status=Declined"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.