1 2 3 4 5 6 7 8 9
FactoryGirl.define do factory :project_wiki do skip_create project user factory: :user initialize_with { new(project, user) } end end