Sha256: afe54230d4dcd58947c1caed55f2e7b32ca3765d6e1dc6b94fcf83480e48904e
Contents?: true
Size: 592 Bytes
Versions: 1
Compression:
Stored size: 592 Bytes
Contents
require 'spec_helper' require 'fedex_ship/shipment' describe FedexShip::Request::Pickup do describe "pickup availability service" do let(:fedex) { FedexShip::Shipment.new(fedex_credentials) } let(:dispatch_date) {(Date.today + 1).strftime('%Y-%m-%d')} let(:options) do {:country_code => 'IN', :postal_code => '400061', :request_type => 'FUTURE_DAY', :dispatch_date => dispatch_date, :carrier_code => 'FDXE'} end it "succeeds", :vcr do expect { @pickup_availability = fedex.pickup_availability(options) }.to_not raise_error end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fedex_ship-0.1.0 | spec/lib/fedex_ship/pickup_availability_spec.rb |