summaryrefslogtreecommitdiff
path: root/spec/factories/todos.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/todos.rb
parentd55839120e92be48b30d248ce9d72a19be038c79 (diff)
downloadgitlab-ce-d0315d5393426bffa6f4e3b84c22d3ef6b0dd54f.tar.gz
Factories with a project association use `:empty_project` by default
Diffstat (limited to 'spec/factories/todos.rb')
-rw-r--r--spec/factories/todos.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/todos.rb b/spec/factories/todos.rb
index 85a8c263643..91d6f39a5bf 100644
--- a/spec/factories/todos.rb
+++ b/spec/factories/todos.rb
@@ -1,6 +1,6 @@
FactoryGirl.define do
factory :todo do
- project
+ project factory: :empty_project
author
user
target factory: :issue