Sha256: 971aeb9af782ad1f4cff35e3e6d7829f97c41fa291e2adb870bb3eef9b072494

Contents?: true

Size: 414 Bytes

Versions: 4

Compression:

Stored size: 414 Bytes

Contents

require 'spec_helper'

describe Spree::API::Client::Payments do
  vcr_options = { :cassette_name =>  "payments" }
  describe 'payments', vcr: vcr_options do
    it 'should load payments' do
      client = Spree::API::Client.new('http://localhost:4000/store/api', 'b56019f04b61a50553ee323f5ab68c6b435871971e79c987')
      payments = client.payments('R610162112')
      payments.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/payments_spec.rb
cq-spree-api-client-0.0.9 spec/payments_spec.rb
cq-spree-api-client-0.0.6 spec/payments_spec.rb
cq-spree-api-client-0.0.5 spec/payments_spec.rb