Sha256: 206ad3893180a026e90e60f3718a966dbb10b02f8296b343b10a988fb13a0307
Contents?: true
Size: 478 Bytes
Versions: 6
Compression:
Stored size: 478 Bytes
Contents
require 'spec_helper' describe Moysklad::Entities::Country do before do stub_rest :Country, :list, 0 end let(:resource) { Moysklad::Resources::Countries.indexed client: client } describe do let(:country) { resource.all.first } subject { country } it do expect(subject).to be_a Moysklad::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
6 entries across 6 versions & 1 rubygems