Sha256: 1eb7d08236c0d635e605170971f11ddf0de0040ed46bd7b76f2fa76e34574e54

Contents?: true

Size: 349 Bytes

Versions: 3

Compression:

Stored size: 349 Bytes

Contents

require 'spec_helper'

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

  let(:vend) {
    QbIif::IIF.new do
      vend do
        row do
          name 'Jun Lin'
          phone1 '12312323242'
          _1099 'Y'
        end
      end
    end
  }

  subject { vend }

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