Sha256: e6a6d201001b8e3dd2627d4abdb773cc32ae73a6426637fa40e71e1655d5b001
Contents?: true
Size: 505 Bytes
Versions: 9
Compression:
Stored size: 505 Bytes
Contents
require 'spec_helper' describe EasyPost::Tracker do describe '#create' do it 'tracks' do tracking_code = 'EZ2000000002' carrier = 'usps' tracker = EasyPost::Tracker.create({ tracking_code: tracking_code, carrier: carrier }) expect(tracker.carrier).to eq(carrier.upcase) expect(tracker.tracking_code).to eq(tracking_code) expect(tracker.status).to eq("in_transit") expect(tracker.tracking_details.length).to be > 0 end end end
Version data entries
9 entries across 9 versions & 1 rubygems