diff options
author | Rémy Coutable <remy@rymai.me> | 2017-08-04 20:14:04 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-01-31 20:31:21 +0300 |
commit | a2718ebaffd431b1eec91f3ee467d9632309b5f2 (patch) | |
tree | cb9953a334be6f4e026d1ed35ef57130b731d7e3 /spec/factories/project_wikis.rb | |
parent | 9c34c023808b38303d4988a20f62645c552951e3 (diff) |
Make user/author use project.creator in most factories
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/factories/project_wikis.rb')
-rw-r--r-- | spec/factories/project_wikis.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/project_wikis.rb b/spec/factories/project_wikis.rb index 89d8248f9f4..db2eb4fc863 100644 --- a/spec/factories/project_wikis.rb +++ b/spec/factories/project_wikis.rb @@ -3,7 +3,7 @@ FactoryBot.define do skip_create project - user factory: :user + user { project.creator } initialize_with { new(project, user) } end end |