Sha256: cf0f5f09c2b8096fc635fbf75b08b22f0ea7851dcc60e30215a98ea21bf91080

Contents?: true

Size: 327 Bytes

Versions: 12

Compression:

Stored size: 327 Bytes

Contents

require 'spec_helper'

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

  let(:cust) {
    Riif::IIF.new do
      cust do
        row do
          name 'Jun Lin'
          phone1 '12312323242'
        end
      end
    end
  }

  subject { cust }

  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/cust_spec.rb
riif-1.0.0 spec/riif/dsl/cust_spec.rb
riif-0.9.0 spec/riif/dsl/cust_spec.rb
riif-0.8.0 spec/riif/dsl/cust_spec.rb
riif-0.7.0 spec/riif/dsl/cust_spec.rb
iif-0.6.1 spec/riif/dsl/cust_spec.rb
riif-0.6.0 spec/riif/dsl/cust_spec.rb
riif-0.5.0 spec/riif/dsl/cust_spec.rb
riif-0.4.0 spec/riif/dsl/cust_spec.rb
riif-0.3.0 spec/riif/dsl/cust_spec.rb
riif-0.2.0 spec/riif/dsl/cust_spec.rb
riif-0.1.0 spec/riif/dsl/cust_spec.rb