8 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
2288ee6cec Removed aliasing and replaced with explicit accessors
* Added casting from String -> Symbol on setter

Closes #9
2015-07-22 16:13:43 +10:00
Nicholas Bruning
1c3d10e407 Added spec coverage for required values. Refer #7 2015-07-22 14:58:04 +10:00
Kristijan Novoselić
c2f9bfda27 Fixed formatting issues 2015-03-17 15:11:50 +01:00
Kristijan Novoselić
5a956c67e2 Field prefix is now configurable 2015-03-17 14:47:46 +01:00
Kristijan Novoselić
1f43e0d4d8 Got rid of deprecation messages due to usage of be_true and be_false 2015-03-17 14:15:41 +01: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