Sha256: f106b3f9bb3005dc40b1a6280aaec785ee8e752506e259e311007f8fd402dc81

Contents?: true

Size: 331 Bytes

Versions: 4

Compression:

Stored size: 331 Bytes

Contents

require File.expand_path('../../../spec_helper', __FILE__)

describe AvaTax::Client do

  describe ".accounts" do
    it "should return an array of accounts" do
      accounts = @client.query_accounts
      expect(accounts).to be_a Object
      expect(accounts['value'].first['id']).to be_a Integer
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
avatax-22.5.0 spec/avatax/client/accounts_spec.rb
avatax-22.3.0 spec/avatax/client/accounts_spec.rb
avatax-22.2.1 spec/avatax/client/accounts_spec.rb
avatax-22.2.0 spec/avatax/client/accounts_spec.rb