3 Commits

Author SHA1 Message Date
Alexander Karmes
589b5598a4 Remove database-cleaner.
- It was not able to work with mongoid 5
- I don't see the reason to use both Mongoid.purge! and
  DatabaseCleaner.truncate! It looks like doing double work
2015-09-17 03:21:30 +02:00
Alexander Karmes
546fc91cb1 Change configuration of Mongoid.
By default mongoid use verbose logging, so I changed log level to :info
Also mongoid config renamed "sessions" method to "cliens" and hence I
renamed key in mongoid.yml
2015-09-17 03:14:03 +02:00
Nicholas Bruning
a38a25f4d1 Very naughty mega-commit. Added enum and validator specs. Everything seems to be working as expected 2013-11-06 17:46:28 +11:00