2019-10-12 21:52:04 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
FactoryBot.define do
|
2016-06-02 11:05:42 +05:30
|
|
|
factory :project_wiki do
|
2017-09-10 17:25:29 +05:30
|
|
|
skip_create
|
|
|
|
|
2018-10-15 14:42:47 +05:30
|
|
|
association :project, :wiki_repo
|
2018-03-17 18:26:18 +05:30
|
|
|
user { project.creator }
|
2016-06-02 11:05:42 +05:30
|
|
|
initialize_with { new(project, user) }
|
|
|
|
end
|
|
|
|
end
|