Sha256: 84a6ec367176c7f3da164d60a09e7d0dba9a52c066f56b8b3b6cfbcbcc4280e1

Contents?: true

Size: 219 Bytes

Versions: 54

Compression:

Stored size: 219 Bytes

Contents

shared_examples 'a named property' do
  it 'has name' do
    expect(subject.name).to eq :my_property
  end
end

shared_examples 'a valued property' do
  it 'has value' do
    expect(subject.value).to eq value
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

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