Sha256: 01f4ccd1573863d6102163df489eae2b88ef1581b7f186d6ed096bde649d3733
Contents?: true
Size: 329 Bytes
Versions: 1
Compression:
Stored size: 329 Bytes
Contents
require 'spec_helper' describe Riif::DSL::Invitem do let(:expected) { File.read('spec/fixtures/invitem.iif') } let(:invitem) { Riif::IIF.new.invitem do row do name 'invitem 1' invitemtype 'INVENTORY' dep_type 1 end end } subject { invitem } it { should eq expected } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
riif-0.0.1 | spec/riif/dsl/invitem_spec.rb |