diff --git a/spec/resource_struct_builder_spec.rb b/spec/resource_struct_builder_spec.rb index 5901cb9..354f7ce 100644 --- a/spec/resource_struct_builder_spec.rb +++ b/spec/resource_struct_builder_spec.rb @@ -24,8 +24,8 @@ class NestedValueObjectDto < T::Struct class SimpleMaybeDto < T::Struct const :basic, String - const :absent, Maybe[T.nilable(String)] - const :present, Maybe[T.nilable(Integer)] + const :absent, Maybe[T.nilable(String)], default: Maybe.empty + const :present, Maybe[T.nilable(Integer)], default: Maybe.empty const :integer, Maybe[Integer] end