Sha256: d6ab3fd6cd880623b709271c6ad0a013c3aa48ff6082994c055450f29696ad70

Contents?: true

Size: 347 Bytes

Versions: 54

Compression:

Stored size: 347 Bytes

Contents

shared_context 'mapping dsl' do
  before do
    # dummy class
    class DummyMappingImplementation
      include Krikri::MappingDSL
    end
  end

  after do
    Object.send(:remove_const, 'DummyMappingImplementation')
  end

  let(:mapping_class) { DummyMappingImplementation }
  let(:mapping) { mapping_class.new }
  let(:value) { 'value' }
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
krikri-0.15.2 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.15.1 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.15.0 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.14.0 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.13.2 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.13.1 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.13.0 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.12.4 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.12.3 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.12.1 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.12.0 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.12.0.pre.rc.1 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.11.2 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.11.1 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.11.0 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.10.1 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.10.0 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.9.0 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.8.9 spec/support/shared_contexts/mapping_dsl.rb
krikri-0.8.8 spec/support/shared_contexts/mapping_dsl.rb