Shopify/active_merchant — pull request #405 by Soleone (2012-07-11 18:02:03+00:00)
Title: Worldpay gateway: Fix test mode

We were actually not properly sending requests to the WorldPay test server unless `Base.gateway_mode` was set to test (which affects all of the gateways). If just this instance of the gateway set the test param, it was ignored before.

A different solution to this issue might have been to change the method body of the `test?` inside the Gateway super class so that the next gateway implementor doesn't run into this issue. But for that change it would've probably been better to remove the definition of `test?` in each of the gateways and use that superclass method instead.

Please review @jduff