Sha256: e565345f1b5f876b3369a03345202fe9a615cab9dd02a40e5e7f6314707ad77f

Contents?: true

Size: 352 Bytes

Versions: 1

Compression:

Stored size: 352 Bytes

Contents

require 'spec_helper'

describe AmoCRM::Resources::Warehouses do

  before do
    stub_rest 'Warehouse'
  end

  describe do
    subject { described_class.new client: client }
    it do
      expect(subject.list.count).to eq 2
    end

    it 'should get list' do
      expect(subject.list.first).to be_a AmoCRM::Entities::Warehouse
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amo_crm-0.2.2 spec/lib/amocrm/resources/warehouses_spec.rb