From 962afb3da11a72c7fca322378886b2c0be9f3385 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 18 May 2023 03:07:23 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- spec/models/user_spec.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'spec/models/user_spec.rb') diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index c73dac7251e..b2f695c8b5a 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -60,6 +60,9 @@ RSpec.describe User, feature_category: :user_profile do it { is_expected.to delegate_method(:setup_for_company).to(:user_preference) } it { is_expected.to delegate_method(:setup_for_company=).to(:user_preference).with_arguments(:args) } + it { is_expected.to delegate_method(:project_shortcut_buttons).to(:user_preference) } + it { is_expected.to delegate_method(:project_shortcut_buttons=).to(:user_preference).with_arguments(:args) } + it { is_expected.to delegate_method(:render_whitespace_in_code).to(:user_preference) } it { is_expected.to delegate_method(:render_whitespace_in_code=).to(:user_preference).with_arguments(:args) } -- cgit v1.2.1