Sha256: 2743d33a96f798c4e74206659244b9cf52b658d4a09a5f55e164d89580a68b82
Contents?: true
Size: 462 Bytes
Versions: 12
Compression:
Stored size: 462 Bytes
Contents
require 'spec_helper' class Invoice attr_accessor :name def initialize(n) @name = n end end describe Riif::DSL::Bud do let(:expected) { File.read('spec/fixtures/bud.iif') } let(:bud) { Riif::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
12 entries across 12 versions & 2 rubygems