Sha256: 38faa91bf25ee7bbd0453c6cd52fee7b69006a9f5fe36c4c1f0e4b938f1d6f92

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

require 'spec_helper'

describe QbIif::DSL::Invmemo do
  let(:expected) { File.read('spec/fixtures/invmemo.iif') }

  let(:invmemo) {
    QbIif::IIF.new do
      invmemo do
        row do
          name 'invmemo 1'
        end
      end
    end
  }

  subject { invmemo }

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