Sha256: 437ca0a63a006994f7f97dd47cdb5f9b3d02d19c4b83fff2b0741db5fd045034

Contents?: true

Size: 301 Bytes

Versions: 12

Compression:

Stored size: 301 Bytes

Contents

require 'spec_helper'

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

  let(:vtype) {
    Riif::IIF.new do
      vtype do
        row do
          name 'vtype 1'
        end
      end
    end
  }

  subject { vtype }

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