spec/spec_helper.rb in couch_potato-0.2.12 vs spec/spec_helper.rb in couch_potato-0.2.13
- old
+ new
@@ -5,9 +5,16 @@
require 'couch_potato'
CouchPotato::Config.database_name = 'couch_potato_test'
+class Child
+ include CouchPotato::Persistence
+
+ property :text
+end
+
+
class Comment
include CouchPotato::Persistence
validates_presence_of :title