Sha256: 3f95773ffa252abf319b6a056338a74126c1f775b94f6fc256e5be67f6a35c8c
Contents?: true
Size: 442 Bytes
Versions: 9
Compression:
Stored size: 442 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe "FedEx Attributes" do it "should convert full country names to country codes" do fedex = new_fedex rates = fedex.rate rates.send(:country_code, "United States").should == "US" end it "should convert full state names to state codes" do fedex = new_fedex rates = fedex.rate rates.send(:state_code, "Texas").should == "TX" end end
Version data entries
9 entries across 9 versions & 1 rubygems