Sha256: 0049800e14fbde4b89603eb0b347df097d79407a9357dbac89cedc204815bc71

Contents?: true

Size: 298 Bytes

Versions: 12

Compression:

Stored size: 298 Bytes

Contents

require 'spec_helper'

describe Riif::DSL::Klass do

  let(:expected) { File.read('spec/fixtures/klass.iif') }

  let(:klass) {
    Riif::IIF.new do
      klass do
        row do
          name 'Foo'
        end
      end
    end
  }

  subject { klass }

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