test/remote/ups_test.rb in active_shipping-1.0.0.pre3 vs test/remote/ups_test.rb in active_shipping-1.0.0.pre4
- old
+ new
@@ -1,13 +1,15 @@
require 'test_helper'
-class UPSTest < Minitest::Test
+class RemoteUPSTest < Minitest::Test
include ActiveShipping::Test::Credentials
include ActiveShipping::Test::Fixtures
def setup
@options = credentials(:ups).merge(:test => true)
@carrier = UPS.new(@options)
+ rescue NoCredentialsFound => e
+ skip(e.message)
end
def test_tracking
response = @carrier.find_tracking_info('1Z12345E0291980793')
assert response.success?