Sha256: 1e77e8f6c6c32f5763e60de356996f6b1dc8a62656d2e765361dca00ee119de1
Contents?: true
Size: 651 Bytes
Versions: 8
Compression:
Stored size: 651 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe "FedEx Track" do it "should track the package" do use_response(:track_defaults) fedex = new_fedex events = fedex.track(:tracking_number => fedex_tracking_number) events.size.should == 7 event = events.first event.name.should == "Delivered" event.type.should == "DL" event.occured_at.should == Time.parse("Mon Dec 08 10:43:37 -0500 2008") event.city.should == "Sacramento" event.state.should == "CA" event.postal_code.should == "95817" event.country.should == "US" event.residential.should == false end end
Version data entries
8 entries across 8 versions & 1 rubygems