Sha256: f3b4484d2d5a75be0853d88e0778b4924ff799593506e936c2dc51b03101f329
Contents?: true
Size: 464 Bytes
Versions: 3
Compression:
Stored size: 464 Bytes
Contents
require 'spec_helper' class Invoice attr_accessor :name def initialize(n) @name = n end end describe QbIif::DSL::Bud do let(:expected) { File.read('spec/fixtures/bud.iif') } let(:bud) { QbIif::IIF.new do bud do row do accnt 'Accounts Receivable' period 'MONTH' amount 'foo' startdate '3/14/12' end end end } subject { bud } 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/bud_spec.rb |
qb_iif-0.1.1 | spec/qb_iif/dsl/bud_spec.rb |
qb_iif-0.1.0 | spec/qb_iif/dsl/bud_spec.rb |