test/remote/ups_test.rb in active_shipping-1.4.0 vs test/remote/ups_test.rb in active_shipping-1.4.1
- old
+ new
@@ -336,10 +336,10 @@
)
assert response.success?
refute_empty response.delivery_estimates
ww_express_estimate = response.delivery_estimates.select {|de| de.service_name == "UPS Worldwide Express"}.first
- assert_equal Date.parse(1.business_day.from_now.to_s), ww_express_estimate.date
+ assert_equal Date.parse(1.day.from_now.to_s), ww_express_estimate.date
end
def test_void_shipment
# this is a test tracking number from the ups docs that always returns sucess
response = @carrier.void_shipment('1Z12345E0390817264')