Sha256: 169c0ed0f55e962f7c32c27e8c553fdec7663406899645ebf2699aa2700916ff
Contents?: true
Size: 472 Bytes
Versions: 1
Compression:
Stored size: 472 Bytes
Contents
require 'spec_helper' describe AmoCRM::Entities::Country do before do stub_rest :Country, :list, 0 end let(:resource) { AmoCRM::Resources::Countries.indexed client: client } describe do let(:country) { resource.all.first } subject { country } it do expect(subject).to be_a AmoCRM::Entities::Country end it 'unicoded xml' do expect(subject.to_xml).to start_with '<?xml version="1.0" encoding="utf-8"?>' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
amo_crm-0.2.2 | spec/lib/amocrm/entities/country_spec.rb |