Sha256: 149d4a21c947fcdfbf4178b0f58fe2252c5102d84ea54e167042ccd334066f4b
Contents?: true
Size: 653 Bytes
Versions: 16
Compression:
Stored size: 653 Bytes
Contents
require 'spec_helper' describe Moysklad::Universe do let!(:client) { Moysklad::Client.new } subject { described_class.new client: client } it do expect(subject.embedded_entity_metadata.resource).to be_a Moysklad::Resources::EmbeddedEntityMetadata end it do expect(subject.resources_list).to have_at_least(10).items end describe '.build' do let(:login) { 'alala' } let(:password) { 'ulala' } subject { described_class.build login: login, password: password } it do expect(subject).to be_a Moysklad::Universe end it do expect(subject.client).to be_a Moysklad::Client end end end
Version data entries
16 entries across 16 versions & 1 rubygems