Sha256: eb992dc9c457fcf03e1ea48bfe5ccc9f8103b5ae5ab8fb4144798be7f6d8c8d5

Contents?: true

Size: 391 Bytes

Versions: 13

Compression:

Stored size: 391 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe "FedEx Track" do
  it "should cancel the shipment" do
    use_response(:cancel_not_found)
    fedex = new_fedex
    cancel = fedex.cancel(:tracking_number => fedex_tracking_number)
    lambda { cancel.perform }.should raise_error(Shippinglogic::FedEx::Error, "Unable to retrieve record from database")
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
binarylogic-shippinglogic-1.0.0 spec/fedex/cancel_spec.rb
binarylogic-shippinglogic-1.0.1 spec/fedex/cancel_spec.rb
binarylogic-shippinglogic-1.0.2 spec/fedex/cancel_spec.rb
binarylogic-shippinglogic-1.0.3 spec/fedex/cancel_spec.rb
binarylogic-shippinglogic-1.0.4 spec/fedex/cancel_spec.rb
binarylogic-shippinglogic-1.0.5 spec/fedex/cancel_spec.rb
binarylogic-shippinglogic-1.0.6 spec/fedex/cancel_spec.rb
binarylogic-shippinglogic-1.0.7 spec/fedex/cancel_spec.rb
binarylogic-shippinglogic-1.0.8 spec/fedex/cancel_spec.rb
binarylogic-shippinglogic-1.1.0 spec/fedex/cancel_spec.rb
binarylogic-shippinglogic-1.1.1 spec/fedex/cancel_spec.rb
binarylogic-shippinglogic-1.1.2 spec/fedex/cancel_spec.rb
binarylogic-shippinglogic-1.1.3 spec/fedex/cancel_spec.rb