Sha256: 3921ba24542f3c8bc51b550c3fd9ab41710b8d4f2e8798f0c92664628e3be63f
Contents?: true
Size: 303 Bytes
Versions: 10
Compression:
Stored size: 303 Bytes
Contents
# frozen_string_literal: true 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
10 entries across 10 versions & 1 rubygems