spec/spec_helper.rb in couch_potato-0.7.1 vs spec/spec_helper.rb in couch_potato-1.0.0
- old
+ new
@@ -29,9 +29,15 @@
validates_presence_of :title
property :title
end
+class BigDecimalContainer
+ include CouchPotato::Persistence
+
+ property :number, :type => BigDecimal
+end
+
def recreate_db
CouchPotato.couchrest_database.recreate!
end
recreate_db