diff options
Diffstat (limited to 'spec/factories/wikis.rb')
-rw-r--r-- | spec/factories/wikis.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/wikis.rb b/spec/factories/wikis.rb index 86d98bfd756..05f6fb0de58 100644 --- a/spec/factories/wikis.rb +++ b/spec/factories/wikis.rb @@ -17,5 +17,9 @@ FactoryBot.define do container { project } end + + trait :empty_repo do + after(:create, &:create_wiki_repository) + end end end |