summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2018-03-08 13:16:39 +0000
committerYorick Peterse <yorickpeterse@gmail.com>2018-03-08 13:16:39 +0000
commitaec3e1ddf7533334f5c1177721acbeb619abcaf2 (patch)
treeadce72577fe713e7cd0d4891e1e0bf745e99fb85 /spec
parentfcda1e96e8955f448411830962026ee0f9285b11 (diff)
parent7d2859e98bd58f6a3b11db6718fe63d95f692b06 (diff)
downloadgitlab-ce-aec3e1ddf7533334f5c1177721acbeb619abcaf2.tar.gz
Merge branch '40525-listing-user-activity-timeouts' into 'master'
Improve database response time for listing user activity Closes #40525 See merge request gitlab-org/gitlab-ce!17454
Diffstat (limited to 'spec')
-rw-r--r--spec/models/user_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index 00b5226d874..5680eb24985 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -27,7 +27,6 @@ describe User do
it { is_expected.to have_many(:keys).dependent(:destroy) }
it { is_expected.to have_many(:deploy_keys).dependent(:destroy) }
it { is_expected.to have_many(:events).dependent(:destroy) }
- it { is_expected.to have_many(:recent_events).class_name('Event') }
it { is_expected.to have_many(:issues).dependent(:destroy) }
it { is_expected.to have_many(:notes).dependent(:destroy) }
it { is_expected.to have_many(:merge_requests).dependent(:destroy) }