diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-20 12:16:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-20 12:16:11 +0300 |
commit | edaa33dee2ff2f7ea3fac488d41558eb5f86d68c (patch) | |
tree | 11f143effbfeba52329fb7afbd05e6e2a3790241 /spec/factories/wikis.rb | |
parent | d8a5691316400a0f7ec4f83832698f1988eb27c1 (diff) |
Add latest changes from gitlab-org/gitlab@14-7-stable-eev14.7.0-rc42
Diffstat (limited to 'spec/factories/wikis.rb')
-rw-r--r-- | spec/factories/wikis.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/wikis.rb b/spec/factories/wikis.rb index 05f6fb0de58..a357f4b448d 100644 --- a/spec/factories/wikis.rb +++ b/spec/factories/wikis.rb @@ -4,7 +4,7 @@ FactoryBot.define do factory :wiki do transient do container { association(:project) } - user { container.default_owner || association(:user) } + user { container.first_owner || association(:user) } end initialize_with { Wiki.for_container(container, user) } |