Sha256: 3704f4f40134713d5137b0abf7fdd8b34fb9e61d375c0e5dc65315c374785ee7

Contents?: true

Size: 364 Bytes

Versions: 5

Compression:

Stored size: 364 Bytes

Contents

require 'spec_helper'

describe Moysklad::Resources::Metadata do
  it 'should be loaded' do
    expect(Moysklad::Resources::Metadata).to be_a Class
  end

  describe do
    subject { Moysklad::Resources::Metadata.new client: client }
    it 'should get list' do
      expect(subject.send(:list_path)).to  eq "exchange/rest/ms/xml/Metadata/list"
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
moysklad-0.1.5 spec/lib/moysklad/resources/metadata_spec.rb
moysklad-0.1.4 spec/lib/moysklad/resources/metadata_spec.rb
moysklad-0.1.3 spec/lib/moysklad/resources/metadata_spec.rb
moysklad-0.1.2 spec/lib/moysklad/resources/metadata_spec.rb
moysklad-0.1.1 spec/lib/moysklad/resources/metadata_spec.rb