Factory girl added.
Resource model + tests
Merge pull request #3 from pebblecode/resource

Resource