danielweinmann/unlock — pull request #9 by diogob (2014-11-18 03:38:06+00:00)
Title: Add more specs

In the seed database I believe the find_or_create was only necessary because the database was not being properly cleaned after the specs run. Now I fixed this and turned the seed methods back to use a simple create!

The factory methods are a bit ugly but I'll refactor then soon.

If you think this approach won't work please let me know.