Sha256: 20b46251573f21700d1019e601161404828ee96ef22409e0a0c839e5f8718af4

Contents?: true

Size: 224 Bytes

Versions: 1

Compression:

Stored size: 224 Bytes

Contents

describe 'options tolerance' do
  before do
    class Test::Foo
      extend Dry::Initializer
    end
  end

  it 'allows options before any definition' do
    expect { Test::Foo.new bar: :baz }.not_to raise_error
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-initializer-3.0.3 spec/options_tolerance_spec.rb