test/unit/integrations/paypal_module_test.rb in activemerchant-1.2.1 vs test/unit/integrations/paypal_module_test.rb in activemerchant-1.3.0
- old
+ new
@@ -19,6 +19,10 @@
def test_invalid_mode
ActiveMerchant::Billing::Base.integration_mode = :zoomin
assert_raise(StandardError){ Paypal.service_url }
end
+
+ def test_return_method
+ assert_instance_of Paypal::Return, Paypal.return('name=cody')
+ end
end