Sha256: 7182e06bbf43b8b2c19ecd5870c93135004eb2bbb6c5603ddacb47a709d5f4d1
Contents?: true
Size: 269 Bytes
Versions: 6
Compression:
Stored size: 269 Bytes
Contents
shared_examples_for 'equals input' do |input| subject{ klass[ input ] } it{ is_expected.to eq input } end shared_examples_for 'raises ConstraintError' do |input| subject{ ->{ klass[ input ] } } it{ is_expected.to raise_error(Dry::Types::ConstraintError) } end
Version data entries
6 entries across 6 versions & 1 rubygems