We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
To make sure that your models are valid you can automatically test all of your factories with the following code:
require 'spec_helper' describe Factory do FactoryGirl.factories.each do |factory| context "with factory for :#{factory.name}" do subject { FactoryGirl.build(factory.name) } it "is valid" do subject.valid?.should be, subject.errors.full_messages end end end end