Sha256: 661764e41d4d92a5398ea356eac8751f35de9701cb79db56be031b9e51d13798

Contents?: true

Size: 172 Bytes

Versions: 4

Compression:

Stored size: 172 Bytes

Contents

# requires you to provide a let(:parent)
shared_examples_for 'object with parent' do
  it 'has a getter for the parent' do
    expect(subject.parent).to eq parent
  end
end

Version data entries

4 entries across 4 versions & 4 rubygems

Version Path
shoes-core-4.0.0.pre3 spec/shoes/shared_examples/parent.rb
shoes-swt-4.0.0.pre2 spec/shoes/shared_examples/parent.rb
shoes-dsl-4.0.0.pre2 spec/shoes/shared_examples/parent.rb
shoes-4.0.0.pre1 spec/shoes/shared_examples/parent.rb