Sha256: 3318d3324ad0cd3cb8598d380828778d831f950776571aba5fd064f735c9c7bd

Contents?: true

Size: 347 Bytes

Versions: 12

Compression:

Stored size: 347 Bytes

Contents

require 'spec_helper'

describe Riif::DSL::Accnt do

  let(:expected) { File.read('spec/fixtures/accnt.iif') }

  let(:accnt) {
    Riif::IIF.new do
      accnt do
        row do
          name 'Jun Lin'
          accnttype 'AR'
          accnum 47
        end
      end
    end
  }

  subject { accnt }

  its(:output) { should eq expected }
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
riif-1.1.0 spec/riif/dsl/accnt_spec.rb
riif-1.0.0 spec/riif/dsl/accnt_spec.rb
riif-0.9.0 spec/riif/dsl/accnt_spec.rb
riif-0.8.0 spec/riif/dsl/accnt_spec.rb
riif-0.7.0 spec/riif/dsl/accnt_spec.rb
iif-0.6.1 spec/riif/dsl/accnt_spec.rb
riif-0.6.0 spec/riif/dsl/accnt_spec.rb
riif-0.5.0 spec/riif/dsl/accnt_spec.rb
riif-0.4.0 spec/riif/dsl/accnt_spec.rb
riif-0.3.0 spec/riif/dsl/accnt_spec.rb
riif-0.2.0 spec/riif/dsl/accnt_spec.rb
riif-0.1.0 spec/riif/dsl/accnt_spec.rb