spec/point_spec.rb in moosex-0.0.18 vs spec/point_spec.rb in moosex-0.0.19
- old
+ new
@@ -11,10 +11,10 @@
}
has y: {
is: :rw,
isa: Integer,
- default: lambda { 0 }, # you should specify a lambda
+ default: -> { 0 }, # you should specify a lambda
}
has secret: {
is: :private,
}