diff options
author | Sebastian Klier <sebastian@sebastianklier.com> | 2016-04-15 07:47:09 +0300 |
---|---|---|
committer | Sebastian Klier <sebastian@sebastianklier.com> | 2016-04-20 03:25:41 +0300 |
commit | edd07e2363297d4e296505a8e82eb76b2a009f10 (patch) | |
tree | 264c85395521df39a2cef4eb2c665a62da80e6b8 /spec/factories/project_wikis.rb | |
parent | ca3e1d9e3f8246ad7cb25de9cd88646c6b74b5f2 (diff) |
Fix wiki tests
Diffstat (limited to 'spec/factories/project_wikis.rb')
-rw-r--r-- | spec/factories/project_wikis.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/factories/project_wikis.rb b/spec/factories/project_wikis.rb new file mode 100644 index 00000000000..a3403fd76ae --- /dev/null +++ b/spec/factories/project_wikis.rb @@ -0,0 +1,7 @@ +FactoryGirl.define do + factory :project_wiki do + project factory: :empty_project + user factory: :user + initialize_with { new(project, user) } + end +end |