diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-13 12:10:22 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-13 12:10:22 +0300 |
commit | 10e15ac3c2798956ff6a43d7b36bdf86c68aa817 (patch) | |
tree | 491a448439d1c2f43258d0418c53e8cc00b51039 /spec/helpers | |
parent | 1cd5d53f92b07b0be71b6c2d9fdfa7cf07221890 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/users_helper_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/helpers/users_helper_spec.rb b/spec/helpers/users_helper_spec.rb index 29ef41a17a6..6ee208dfd15 100644 --- a/spec/helpers/users_helper_spec.rb +++ b/spec/helpers/users_helper_spec.rb @@ -497,6 +497,7 @@ RSpec.describe UsersHelper do describe '#user_profile_tabs_app_data' do before do allow(helper).to receive(:user_calendar_path).with(user, :json).and_return('/users/root/calendar.json') + allow(helper).to receive(:user_activity_path).with(user, :json).and_return('/users/root/activity.json') allow(user).to receive_message_chain(:followers, :count).and_return(2) allow(user).to receive_message_chain(:followees, :count).and_return(3) end @@ -506,6 +507,7 @@ RSpec.describe UsersHelper do followees_count: 3, followers_count: 2, user_calendar_path: '/users/root/calendar.json', + user_activity_path: '/users/root/activity.json', utc_offset: 0, user_id: user.id, snippets_empty_state: match_asset_path('illustrations/empty-state/empty-snippets-md.svg') |