Permalink
Browse files

Fix ipay88 unit test

  • Loading branch information...
1 parent e7b2767 commit 4d3a0860093f20414f5146248e02fc20f5c6f24e @yetanothernguyen committed Mar 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/unit/gateways/ipay88_test.rb
View
4 test/unit/gateways/ipay88_test.rb
@@ -36,7 +36,7 @@ def setup
end
def test_successful_recurring
- #@gateway.expects(:ssl_post).returns(successful_recurring_response)
+ @gateway.expects(:ssl_post).returns(successful_recurring_response)
response = @gateway.recurring(@amount, @credit_card, @options)
assert_instance_of Response, response
@@ -48,7 +48,7 @@ def test_successful_recurring
end
def test_unsuccessful_recurring
- #@gateway.expects(:ssl_post).returns(failed_recurring_response)
+ @gateway.expects(:ssl_post).returns(failed_recurring_response)
assert response = @gateway.recurring(@amount, @credit_card, @options)
assert_failure response

0 comments on commit 4d3a086

Please sign in to comment.