Sha256: 7d64b178a6ab4a0928573f5cd33423d2d9b30d94f4ca3ee17eb7f3f8d8e0ec15
Contents?: true
Size: 641 Bytes
Versions: 3
Compression:
Stored size: 641 Bytes
Contents
require 'spec_helper' describe QbIif::DSL::Timeact do let(:expected) { File.read('spec/fixtures/timeact.iif') } let(:timeact) { QbIif::IIF.new do timerhdr do row do ver 8 rel 0 companyname 'Import Test Company' importedbefore 'N' fromtimer 'Y' companycreatetime '1208544781' end end timeact do row do date '06/21/97' job 'job 1' emp 'Jun' item 'item 1' duration '13:40' proj 'klass 1' billingstatus 0 end end end } subject { timeact } its(:output) { should eq expected } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
qb_iif-0.1.2 | spec/qb_iif/dsl/timeact_spec.rb |
qb_iif-0.1.1 | spec/qb_iif/dsl/timeact_spec.rb |
qb_iif-0.1.0 | spec/qb_iif/dsl/timeact_spec.rb |