FactoryGirl.define do factory :custom_field do name 'My custom field' end end