summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorJarka Kadlecová <jarka@gitlab.com>2018-07-11 18:33:24 +0200
committerJarka Kadlecová <jarka@gitlab.com>2018-07-11 18:33:24 +0200
commit8717c7dad9b5a8fa21ec9a652c54718a6b4c2175 (patch)
treeabedd3ea3e4de67953b992df1a67d7baef8aebe2 /spec/factories
parentc7c630f142a23505b4adce449c0a176dec142384 (diff)
downloadgitlab-ce-8717c7dad9b5a8fa21ec9a652c54718a6b4c2175.tar.gz
Revert "Merge branch 'ee-5481-epic-todos' into 'master'"
This reverts commit 4d9a3f42f1fd3be21555e19872b7121cca65015e, reversing changes made to ecf9c145f6e4d170cd059df88743393d9e63c489.
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/todos.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/factories/todos.rb b/spec/factories/todos.rb
index 14486c80341..94f8caedfa6 100644
--- a/spec/factories/todos.rb
+++ b/spec/factories/todos.rb
@@ -1,8 +1,8 @@
FactoryBot.define do
factory :todo do
project
- author { project&.creator || user }
- user { project&.creator || user }
+ author { project.creator }
+ user { project.creator }
target factory: :issue
action { Todo::ASSIGNED }