Sha256: 648a380b66b46dd3275956b38e1a55870a5b96c25a6d2ecf0b9873ea60138a8e
Contents?: true
Size: 240 Bytes
Versions: 1
Compression:
Stored size: 240 Bytes
Contents
describe 'invalid default value assignment' do subject do class Test::Foo extend Dry::Initializer param :foo, default: 1 end end it 'raises TypeError' do expect { subject }.to raise_error TypeError end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dry-initializer-3.0.3 | spec/invalid_default_spec.rb |