summaryrefslogtreecommitdiff
path: root/spec/models/todo_spec.rb
diff options
context:
space:
mode:
authorJarka Kadlecová <jarka@gitlab.com>2018-06-13 18:11:10 +0200
committerJarka Kadlecová <jarka@gitlab.com>2018-07-03 09:34:44 +0200
commit57a44f2da3d2a0b59209b6c2d653d04efd0d3d41 (patch)
tree37a3035e1f1411a16a989e8b22f20bb80c79cf6d /spec/models/todo_spec.rb
parent275fbf24b1810e2fbef92b6599d5372855b97b46 (diff)
downloadgitlab-ce-57a44f2da3d2a0b59209b6c2d653d04efd0d3d41.tar.gz
Support todos for epics backport
Diffstat (limited to 'spec/models/todo_spec.rb')
-rw-r--r--spec/models/todo_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/todo_spec.rb b/spec/models/todo_spec.rb
index bd498269798..f29abcf536e 100644
--- a/spec/models/todo_spec.rb
+++ b/spec/models/todo_spec.rb
@@ -7,6 +7,7 @@ describe Todo do
it { is_expected.to belong_to(:author).class_name("User") }
it { is_expected.to belong_to(:note) }
it { is_expected.to belong_to(:project) }
+ it { is_expected.to belong_to(:group) }
it { is_expected.to belong_to(:target).touch(true) }
it { is_expected.to belong_to(:user) }
end