gitlab-org--gitlab-foss/spec/factories/project_wikis.rb
Rémy Coutable 857d039145
Lint our factories creation in addition to their build
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-02 19:06:50 +02:00

9 lines
179 B
Ruby

FactoryGirl.define do
factory :project_wiki do
skip_create
project factory: :empty_project
user factory: :user
initialize_with { new(project, user) }
end
end