diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 12:55:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 12:55:51 +0300 |
commit | e8d2c2579383897a1dd7f9debd359abe8ae8373d (patch) | |
tree | c42be41678c2586d49a75cabce89322082698334 /spec/finders/user_recent_events_finder_spec.rb | |
parent | fc845b37ec3a90aaa719975f607740c22ba6a113 (diff) |
Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42
Diffstat (limited to 'spec/finders/user_recent_events_finder_spec.rb')
-rw-r--r-- | spec/finders/user_recent_events_finder_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/finders/user_recent_events_finder_spec.rb b/spec/finders/user_recent_events_finder_spec.rb index 5a9243d150d..74c563b9bf6 100644 --- a/spec/finders/user_recent_events_finder_spec.rb +++ b/spec/finders/user_recent_events_finder_spec.rb @@ -12,6 +12,7 @@ RSpec.describe UserRecentEventsFinder do let!(:internal_event) { create(:event, project: internal_project, author: project_owner) } let!(:public_event) { create(:event, project: public_project, author: project_owner) } let_it_be(:issue) { create(:issue, project: public_project) } + let(:limit) { nil } let(:params) { { limit: limit } } @@ -43,6 +44,7 @@ RSpec.describe UserRecentEventsFinder do context 'events from multiple users' do let_it_be(:second_user, reload: true) { create(:user) } let_it_be(:private_project_second_user) { create(:project, :private, creator: second_user) } + let(:internal_project_second_user) { create(:project, :internal, creator: second_user) } let(:public_project_second_user) { create(:project, :public, creator: second_user) } let!(:private_event_second_user) { create(:event, project: private_project_second_user, author: second_user) } |