Sha256: 8757ee7819547819758adc3df46464951dfa9fd2bca6d35a605081d370dd8b70
Contents?: true
Size: 393 Bytes
Versions: 3
Compression:
Stored size: 393 Bytes
Contents
require 'spec_helper' describe QbIif::DSL::Emp do let(:expected) { File.read('spec/fixtures/emp.iif') } let(:emp) { QbIif::IIF.new do emp do row do name 'Alfred' init 'Master' addr1 'Backer' addr2 '37' salutation 'Doctor' end end end } subject { emp } 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/emp_spec.rb |
qb_iif-0.1.1 | spec/qb_iif/dsl/emp_spec.rb |
qb_iif-0.1.0 | spec/qb_iif/dsl/emp_spec.rb |