Sha256: 3e9f7d08953f20ff2013f762d52dd28b2cb619f5f666b677cb452fce10df298e

Contents?: true

Size: 292 Bytes

Versions: 13

Compression:

Stored size: 292 Bytes

Contents

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

describe "FedEx Validation" do
  it "should not be valid" do
    use_response(:blank)
    rates = new_fedex.rate
    rates.valid?.should == false
    rates.errors.should == ["The response from FedEx was blank."]
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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