Sha256: 874fb32960466ccbed71c6466f98dc758d08a2e087c7463bdd5dfe3835842334

Contents?: true

Size: 536 Bytes

Versions: 1

Compression:

Stored size: 536 Bytes

Contents

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

describe "FedEx" do
  it "should return the default options" do
    spec_helper_options = Shippinglogic::FedEx.options
    Shippinglogic::FedEx.instance_variable_set("@options", nil)

    Shippinglogic::FedEx.options.should == {
      :test => false,
      :production_url => "https://gateway.fedex.com:443/xml",
      :test_url => "https://gatewaybeta.fedex.com:443/xml"
    }

    Shippinglogic::FedEx.instance_variable_set("@options", spec_helper_options)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shippinglogic-1.2.3 spec/fedex_spec.rb