diff options
author | Andreas Brandl <abrandl@gitlab.com> | 2018-03-01 12:26:45 +0100 |
---|---|---|
committer | Andreas Brandl <abrandl@gitlab.com> | 2018-03-07 14:36:25 +0100 |
commit | 7d2859e98bd58f6a3b11db6718fe63d95f692b06 (patch) | |
tree | 01e976eb640364a6ac2679c2b182fc6aa0cb934f /spec/models/user_spec.rb | |
parent | 7e7f260dc54c7643e8d7ec8bf3fbded3dfc06fcc (diff) | |
download | gitlab-ce-7d2859e98bd58f6a3b11db6718fe63d95f692b06.tar.gz |
Leverage user_contributed_projects to find recent events.40525-listing-user-activity-timeouts
Closes #40525.
Diffstat (limited to 'spec/models/user_spec.rb')
-rw-r--r-- | spec/models/user_spec.rb | 1 |
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) } |