Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-05-19 18:08:55 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-19 18:08:55 +0300
commit51238b2afe1ef4783b41368fa1e22b50f473c070 (patch)
tree8efb6e48b1edf709f051d03c6c5767f2d46730ab /spec/helpers
parentba55ca9bc4bf2c85d2d78fcb11552ad130151110 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/users_helper_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/helpers/users_helper_spec.rb b/spec/helpers/users_helper_spec.rb
index 0a259b80219..74b90ce3c6e 100644
--- a/spec/helpers/users_helper_spec.rb
+++ b/spec/helpers/users_helper_spec.rb
@@ -502,12 +502,13 @@ RSpec.describe UsersHelper do
end
it 'returns expected hash' do
- expect(helper.user_profile_tabs_app_data(user)).to eq({
+ expect(helper.user_profile_tabs_app_data(user)).to match({
followees: 3,
followers: 2,
user_calendar_path: '/users/root/calendar.json',
utc_offset: 0,
- user_id: user.id
+ user_id: user.id,
+ snippets_empty_state: match_asset_path('illustrations/empty-state/empty-snippets-md.svg')
})
end
end