Sha256: 98026b291d7c6f785c851a71f406c58fdfb8359650cdaf396ded5254035903b0

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

require 'spec_helper'

describe Spree::API::Client::Shipments do
  use_vcr_cassette "shipment_ready", :record => :new_episodes
  describe 'shipment_ready' do
    it 'should set a shipment to ready' do
      client = Spree::API::Client.new('http://localhost:4000/store/api', 'b56019f04b61a50553ee323f5ab68c6b435871971e79c987')
      shipment = client.shipment_ready(1, 1)
      shipment.should be_a(Hashie::Mash)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree-api-client-0.0.2 spec/shipments_spec.rb