Sha256: 34b2935acd5aaf39a471d81d5ee3fd895f2241383c9103308c515cbba5bc1a91
Contents?: true
Size: 449 Bytes
Versions: 16
Compression:
Stored size: 449 Bytes
Contents
require 'spec_helper' describe Moysklad::Entities::CustomerOrderPosition do context 'generate' do subject { p= Moysklad::Entities::CustomerOrderPosition.new p.vat = 18 p.price = Moysklad::Entities::Price.new p.price.value = 123 p.reserve = true p } it 'to_json' do expect(subject.to_json).to be_a String end it 'to_s' do expect(subject.to_s).to be_a String end end end
Version data entries
16 entries across 16 versions & 1 rubygems