Sha256: 64bc93e8e10c80f1397af3c5221463eacee0ee07d9dfb93161f378a1f921d706

Contents?: true

Size: 290 Bytes

Versions: 1

Compression:

Stored size: 290 Bytes

Contents

require 'spec_helper'

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

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

  subject { cust }

  it { should eq expected }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
riif-0.0.1 spec/riif/dsl/cust_spec.rb