lib/active_merchant/billing/gateway.rb in activemerchant-1.30.0 vs lib/active_merchant/billing/gateway.rb in activemerchant-1.31.0
- old
+ new
@@ -128,10 +128,10 @@
@options = options
end
# Are we running in test mode?
def test?
- (@options[:test] || Base.test?)
+ (@options.has_key?(:test) ? @options[:test] : Base.test?)
end
private # :nodoc: all
def name