humble-coder/bloccit — pull request #1 by humble-coder (2013-12-24 18:34:25+00:00)
Title: Attempted to Refactor User Specs

I'm trying to refactor the user model's tests/specs with the ```build``` method and factory traits, but I'm having trouble refactoring the tests/specs that call the User class method (```top_rated```): I'm not sure whether I can use ```build``` to make such a test pass. Also, I'm not sure how to test the instance methods ```voted``` and ```favorited``` without at least one call to the ```create``` for each test.

I've learned a lot about FactoryGirl and RSpec while doing this, but I think I've hit a wall. Any additional information about traits and nested factories will also help.

Thanks a lot.