Sha256: ab0b93057d325b2dc92d330fe7f1540767a6513df76dbc09bbb758360a210a3d

Contents?: true

Size: 325 Bytes

Versions: 8

Compression:

Stored size: 325 Bytes

Contents

RSpec.shared_examples_for 'the same configs' do
  it 'are equal' do
    expect(described_class.from(config1)).to eq(described_class.from(config2))
  end
end

RSpec.shared_examples_for 'different configs' do
  it 'are different' do
    expect(described_class.from(config1)).not_to eq(described_class.from(config2))
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dry-dock-0.2.0 spec/support/shared_examples/container_config.rb
dry-dock-0.1.6 spec/support/shared_examples/container_config.rb
dry-dock-0.1.5 spec/support/shared_examples/container_config.rb
dry-dock-0.1.4 spec/support/shared_examples/container_config.rb
dry-dock-0.1.3 spec/support/shared_examples/container_config.rb
dry-dock-0.1.2 spec/support/shared_examples/container_config.rb
dry-dock-0.1.1 spec/support/shared_examples/container_config.rb
dry-dock-0.1.0 spec/support/shared_examples/container_config.rb