Similar to the problem described here: http://rpheath.com/posts/411-how-to-use-factory-girl-with-rspec
in Short (shorten\'d code):
spec_helper:
c
When you use Factory(:state) wich is a shortcut to Factory.create(:state), factory_girl returns you a saved object.
Use Factory.build(:state) instead.