Sha256: 543657ebd33636e6030ac144646928c5b184e146236c36703cf2e7f32cc87122
Contents?: true
Size: 240 Bytes
Versions: 9
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
9 entries across 9 versions & 1 rubygems