Sha256: 62cf2bf14265dd645b0b3997f1b40d1c61792116e6e90fad829330cd1f86446d

Contents?: true

Size: 385 Bytes

Versions: 4

Compression:

Stored size: 385 Bytes

Contents

require 'spec_helper'

describe Spree::API::Client::Orders do
  vcr_options = { :cassette_name =>  "orders" }
  describe 'orders', vcr: vcr_options do
    it 'should load orders' do
      client = Spree::API::Client.new('http://localhost:4000/store/api', 'b56019f04b61a50553ee323f5ab68c6b435871971e79c987')
      orders = client.orders
      orders.should be_a(Array)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cq-spree-api-client-0.0.10 spec/orders_spec.rb
cq-spree-api-client-0.0.9 spec/orders_spec.rb
cq-spree-api-client-0.0.6 spec/orders_spec.rb
cq-spree-api-client-0.0.5 spec/orders_spec.rb