spec/several_assignments_spec.rb in dry-initializer-1.4.1 vs spec/several_assignments_spec.rb in dry-initializer-2.0.0
- old
+ new
@@ -1,8 +1,8 @@
describe "attribute with several assignments" do
before do
class Test::Foo
- extend Dry::Initializer::Mixin
+ extend Dry::Initializer
option :bar, proc(&:to_s), optional: true
option :"some foo", as: :bar, optional: true
end
end