Sha256: 5f032041ec8d1820d37c7e06b077dfac8348e2d4667ea8b1f224be787552b820
Contents?: true
Size: 674 Bytes
Versions: 9
Compression:
Stored size: 674 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe "FedEx Ship" do it "should create a new shipment" do use_response(:ship_defaults) fedex = new_fedex shipment = fedex.ship shipment.service_type = "FEDEX_2_DAY" shipment.attributes = fedex_shipper shipment.attributes = fedex_recipient shipment.attributes = fedex_package shipment.rate.should == 17.02 shipment.currency.should == "USD" shipment.delivery_date.should == Date.parse("Tue, 11 Aug 2009") shipment.tracking_number.should == "794797892957" shipment.label.should_not be_nil shipment.barcode.should_not be_nil end end
Version data entries
9 entries across 9 versions & 1 rubygems