Sha256: 2d3ceeac2af312a0c5d913d6dabf8e303d1cd2de0fca00e70ad26fba7c39a689
Contents?: true
Size: 533 Bytes
Versions: 2
Compression:
Stored size: 533 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 expect(subject.metadata.resource).to be_a Moysklad::Resources::Metadata end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
moysklad-0.1.2 | spec/lib/moysklad/universe_spec.rb |
moysklad-0.1.1 | spec/lib/moysklad/universe_spec.rb |