Shopify/active_merchant — pull request #320 by mltsy (2012-03-26 20:05:10+00:00)
Title: Separate "demo accounts" from "test transactions" for Elavon/Viaklix

A fix for this issue: https://github.com/Shopify/active_merchant/issues/319
(not sure how to attach it... if that's possible)

This commit makes it so Base.gateway_mode (gateway.test?) determines what URL to send the request to, while @options[:test] determines what type of transaction to send (real vs. test). This may create compatibility issues for anybody using the previous code, which allows you to submit to a demo account using the @options[:test] parameter, so it should probably not go in a minor version update I suppose, although it shouldn't create any problems in production environments.

It's a fairly minor change, but I haven't been able to test this yet, because my project uses dm-types 1.1.0 which is incompatible with the current HEAD of active_merchant. Need to get up to date :)