Sha256: 49627168417046d3165cb1a6c6d514335fd5c91cfe700d85c53b315a7f0eee9c

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

require 'spec_helper'

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

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

  subject { paymeth }

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