Sha256: 9d9c9057cc8f67d9fae2df1b7499cabd422ce45ee9e283fa989d50b94fd879f3

Contents?: true

Size: 390 Bytes

Versions: 1

Compression:

Stored size: 390 Bytes

Contents

require 'spec_helper'

describe Spree::API::Client::Variants do
  use_vcr_cassette "variants", :record => :new_episodes
  describe 'variants' do
    it 'should load variants' do
      client = Spree::API::Client.new('http://localhost:4000/store/api', 'b56019f04b61a50553ee323f5ab68c6b435871971e79c987')
      variants = client.variants(1)
      variants.should be_a(Array)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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