Sha256: fea40b808f14ec7e3bd8b9f1c56daef416bf5cf4bf0350f70be496f744f4b258
Contents?: true
Size: 389 Bytes
Versions: 3
Compression:
Stored size: 389 Bytes
Contents
require 'spec_helper' describe QbIif::DSL::Terms do let(:expected) { File.read('spec/fixtures/terms.iif') } let(:terms) { QbIif::IIF.new do terms do row do name 'terms 1' duedays 10 discper 0.3 discdays 1 termstype 0 end end end } subject { terms } 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/terms_spec.rb |
qb_iif-0.1.1 | spec/qb_iif/dsl/terms_spec.rb |
qb_iif-0.1.0 | spec/qb_iif/dsl/terms_spec.rb |