Sha256: 723bc37ce48165076b557514be4b16b91b1317aa7d59b1779ee90c961dc6c5e6
Contents?: true
Size: 299 Bytes
Versions: 3
Compression:
Stored size: 299 Bytes
Contents
require 'spec_helper' describe QbIif::DSL::Ctype do let(:expected) { File.read('spec/fixtures/ctype.iif') } let(:ctype) { QbIif::IIF.new do ctype do row do name 'Bar' end end end } subject { ctype } 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/ctype_spec.rb |
qb_iif-0.1.1 | spec/qb_iif/dsl/ctype_spec.rb |
qb_iif-0.1.0 | spec/qb_iif/dsl/ctype_spec.rb |