Sha256: d883fcefd816cf56b6bfbae792e555e2932182436307412b0de6ddf0934a6381

Contents?: true

Size: 347 Bytes

Versions: 12

Compression:

Stored size: 347 Bytes

Contents

require 'spec_helper'

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

  let(:vend) {
    Riif::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

12 entries across 12 versions & 2 rubygems

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