summaryrefslogtreecommitdiff
path: root/spec/factories/labels.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/labels.rb
parentd55839120e92be48b30d248ce9d72a19be038c79 (diff)
downloadgitlab-ce-d0315d5393426bffa6f4e3b84c22d3ef6b0dd54f.tar.gz
Factories with a project association use `:empty_project` by default
Diffstat (limited to 'spec/factories/labels.rb')
-rw-r--r--spec/factories/labels.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/labels.rb b/spec/factories/labels.rb
index 3e8822faf97..5ba8443c62c 100644
--- a/spec/factories/labels.rb
+++ b/spec/factories/labels.rb
@@ -2,7 +2,7 @@ FactoryGirl.define do
factory :label, class: ProjectLabel do
sequence(:title) { |n| "label#{n}" }
color "#990000"
- project
+ project factory: :empty_project
transient do
priority nil