summaryrefslogtreecommitdiff
path: root/spec/models/user_spec.rb
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2017-04-18 19:24:41 +0300
committerValery Sizov <valery@gitlab.com>2017-04-18 21:07:45 +0300
commit59a330f4cde708986b9112883b4d4f92b76e5c08 (patch)
tree1c7ef569ffe1a4b29bb0ae388ebdd47a7c9acfd1 /spec/models/user_spec.rb
parentd910a777cc53a9d087ede3079522870631baec07 (diff)
downloadgitlab-ce-59a330f4cde708986b9112883b4d4f92b76e5c08.tar.gz
Remove assigned_(issues|merge_requests) methods from the issuable
Diffstat (limited to 'spec/models/user_spec.rb')
-rw-r--r--spec/models/user_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index 9de16c41e94..5cdf4e87ba5 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -24,9 +24,7 @@ describe User, models: true do
it { is_expected.to have_many(:recent_events).class_name('Event') }
it { is_expected.to have_many(:issues).dependent(:restrict_with_exception) }
it { is_expected.to have_many(:notes).dependent(:destroy) }
- it { is_expected.to have_many(:assigned_issues).dependent(:nullify) }
it { is_expected.to have_many(:merge_requests).dependent(:destroy) }
- it { is_expected.to have_many(:assigned_merge_requests).dependent(:nullify) }
it { is_expected.to have_many(:identities).dependent(:destroy) }
it { is_expected.to have_many(:spam_logs).dependent(:destroy) }
it { is_expected.to have_many(:todos).dependent(:destroy) }