Sha256: 10919d3bfba70e83b3fac1dfe5531ca3c9a6c760821dfd0778fc1690ec554ada

Contents?: true

Size: 394 Bytes

Versions: 3

Compression:

Stored size: 394 Bytes

Contents

require 'spec_helper'

describe QbIif::DSL::Othername do

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

  let(:othername) {
    QbIif::IIF.new do
      othername do
        row do
          name 'Alfred'
          baddr1 'Backer'
          baddr2 '37'
          faxnum '123'
        end
      end
    end
  }

  subject { othername }

  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/othername_spec.rb
qb_iif-0.1.1 spec/qb_iif/dsl/othername_spec.rb
qb_iif-0.1.0 spec/qb_iif/dsl/othername_spec.rb