spec/data/commentable.rb in dm-is-remixable-0.9.11 vs spec/data/commentable.rb in dm-is-remixable-0.10.0

- old
+ new

@@ -2,10 +2,12 @@ include DataMapper::Resource is :remixable, :suffix => "comment" - property :id, Integer, :key => true, :serial => true + property :id, Serial property :comment, String property :created_at, DateTime + + validates_present :comment, :context => [ :publish ] end