Sha256: c47eb28140abc225afdd5fb5f7ab618e6c39c541472506bccce9d2c325187d0f

Contents?: true

Size: 606 Bytes

Versions: 3

Compression:

Stored size: 606 Bytes

Contents

require 'spec_helper'

describe Jortt::Client, :vcr do
  context 'configured' do
    let(:client) { described_class.new(ENV['JORTT_CLIENT_ID'], ENV['JORTT_CLIENT_SECRET']) }

    describe '#customers' do
      subject { client.customers }
      it { should be_instance_of(described_class::Customers) }
    end

    describe '#invoices' do
      subject { client.invoices }
      it { should be_instance_of(described_class::Invoices) }
    end

    describe '#ledger_accounts' do
      subject { client.ledger_accounts }
      it { should be_instance_of(described_class::LedgerAccounts) }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jortt-6.1.0 spec/jortt/client_spec.rb
jortt-6.0.0 spec/jortt/client_spec.rb
jortt-5.0.0 spec/jortt/client_spec.rb