Sha256: a430b7ea2bf1bd76ecdb4da545a86d63d8a5405d4c4d8727b97052be7a65dada
Contents?: true
Size: 398 Bytes
Versions: 18
Compression:
Stored size: 398 Bytes
Contents
require 'test_helper' class BaseTest < Test::Unit::TestCase include ActiveMerchant::Fulfillment def test_get_shipwire_by_string assert_equal ShipwireService, Base.service('shipwire') end def test_get_shipwire_by_name assert_equal ShipwireService, Base.service(:shipwire) end def test_get_unknown_service assert_raise(NameError){ Base.service(:polar_north) } end end
Version data entries
18 entries across 18 versions & 1 rubygems