Sha256: 7d5c4cbadf6e164ef2efe3c3153ac79a8f6248173ffde5e6f67ebfdadea4462d
Contents?: true
Size: 393 Bytes
Versions: 1
Compression:
Stored size: 393 Bytes
Contents
require 'spec_helper' describe AmoCRM::Resources::Countries do before do stub_rest 'Country' end subject { described_class.new client: client } it do expect(subject.list.count).to eq 248 end it do expect(subject.send(:list_path)).to eq "exchange/rest/ms/xml/Country/list" end it do expect(subject.list.first).to be_a AmoCRM::Entities::Country end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
amo_crm-0.2.2 | spec/lib/amocrm/resources/countries_spec.rb |