Sha256: 20603531fe53adb726f20b757dc19fe55bf251a8b38d4176ff219a5bdf0857c0

Contents?: true

Size: 411 Bytes

Versions: 8

Compression:

Stored size: 411 Bytes

Contents

require 'spec_helper'

describe Moysklad::Resources::GoodFolders do

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

  describe 'resource' do
    subject { Moysklad::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

8 entries across 8 versions & 1 rubygems

Version Path
moysklad-0.3.0 spec/lib/moysklad/resources/good_folders_spec.rb
moysklad-0.2.1 spec/lib/moysklad/resources/good_folders_spec.rb
moysklad-0.2.0 spec/lib/moysklad/resources/good_folders_spec.rb
moysklad-0.1.5 spec/lib/moysklad/resources/good_folders_spec.rb
moysklad-0.1.4 spec/lib/moysklad/resources/good_folders_spec.rb
moysklad-0.1.3 spec/lib/moysklad/resources/good_folders_spec.rb
moysklad-0.1.2 spec/lib/moysklad/resources/good_folders_spec.rb
moysklad-0.1.1 spec/lib/moysklad/resources/good_folders_spec.rb