Sha256: 72d55f3921e77f636d84f8001970e57bc3fd1d2990ab3e027397206a435d263b
Contents?: true
Size: 433 Bytes
Versions: 3
Compression:
Stored size: 433 Bytes
Contents
describe "base syntax" do before do class Test::Foo extend Dry::Initializer::Mixin extend Dry::Initializer::Rails param :foo param :bar option :baz option :qux end end it "supported" do subject = Test::Foo.new(1, 2, baz: 3, qux: 4) expect(subject.foo).to eql 1 expect(subject.bar).to eql 2 expect(subject.baz).to eql 3 expect(subject.qux).to eql 4 end end
Version data entries
3 entries across 3 versions & 1 rubygems