Use ActiveRecord to generate queries for specs
Merge pull request #2 from as-cii/better-specs

Use ActiveRecord to generate queries for specs.