diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-18 06:07:23 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-18 06:07:23 +0300 |
commit | 962afb3da11a72c7fca322378886b2c0be9f3385 (patch) | |
tree | 541e08c4d329ab62cfbadde45b0f15d2171e004e /spec/models/user_spec.rb | |
parent | 8a560d56661f56804ddf6596f928e7d25db37443 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/user_spec.rb')
-rw-r--r-- | spec/models/user_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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) } |