test/unit/gateways/gateway_test.rb in activemerchant-1.4.2 vs test/unit/gateways/gateway_test.rb in activemerchant-1.5.0
- old
+ new
@@ -1,5 +1,5 @@
-require File.dirname(__FILE__) + '/../../test_helper'
+require 'test_helper'
class GatewayTest < Test::Unit::TestCase
def test_should_detect_if_a_card_is_supported
Gateway.supported_cardtypes = [:visa, :bogus]
assert [:visa, :bogus].all? { |supported_cardtype| Gateway.supports?(supported_cardtype) }
\ No newline at end of file