Sha256: 332424280f797c0f78655cc15426954ec68fd0b30ac75f0938a8ab4e5dd904d8

Contents?: true

Size: 405 Bytes

Versions: 1

Compression:

Stored size: 405 Bytes

Contents

require 'spec_helper'

describe AmoCRM::Resources::GoodFolders do

  it 'should be GoodFolder' do
    expect(described_class.entity_class).to eq AmoCRM::Entities::GoodFolder
  end

  describe 'resource' do
    subject { AmoCRM::Resources::GoodFolders.new client: client }

    it 'should get item' do
      expect(subject.send(:list_path)).to  eq "exchange/rest/ms/xml/GoodFolder/list"
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

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