summaryrefslogtreecommitdiff
path: root/spec/factories/releases.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-01-24 20:30:56 -0500
committerRobert Speicher <rspeicher@gmail.com>2017-01-24 20:30:56 -0500
commitd0315d5393426bffa6f4e3b84c22d3ef6b0dd54f (patch)
treed06c6f71628daeffc55b6eb1218d22cd483132ce /spec/factories/releases.rb
parentd55839120e92be48b30d248ce9d72a19be038c79 (diff)
downloadgitlab-ce-d0315d5393426bffa6f4e3b84c22d3ef6b0dd54f.tar.gz
Factories with a project association use `:empty_project` by default
Diffstat (limited to 'spec/factories/releases.rb')
-rw-r--r--spec/factories/releases.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/releases.rb b/spec/factories/releases.rb
index 74497dc82c0..6a6d6fa171f 100644
--- a/spec/factories/releases.rb
+++ b/spec/factories/releases.rb
@@ -2,6 +2,6 @@ FactoryGirl.define do
factory :release do
tag "v1.1.0"
description "Awesome release"
- project
+ project factory: :empty_project
end
end