Sha256: 5d8366339f3b9a7752f4fbe6767ee9e0e0f47c283f5540690d7653b387396c7b

Contents?: true

Size: 455 Bytes

Versions: 1

Compression:

Stored size: 455 Bytes

Contents

require 'spec_helper'

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

  describe do
    let!(:client) { Moysklad::Client.new }

    subject { Moysklad::Universe.new client: client }

    it 'should have a features resoruce' do
      expect(subject.features).to be_a Moysklad::Resources::Indexed
      expect(subject.features.resource).to be_a Moysklad::Resources::Features
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
moysklad-0.0.2 spec/lib/moysklad/universe_spec.rb