spec/data/commentable.rb in dm-is-remixable-0.10.2 vs spec/data/commentable.rb in dm-is-remixable-1.0.0.rc1
- old
+ new
@@ -6,8 +6,8 @@
property :id, Serial
property :comment, String
property :created_at, DateTime
- validates_present :comment, :context => [ :publish ]
+ validates_presence_of :comment, :context => [ :publish ]
end