summaryrefslogtreecommitdiff
path: root/spec/models/user_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-03-31 21:08:25 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-03-31 21:08:25 +0000
commit83c5e07949cb1023dde1d282b3969def6f182472 (patch)
tree6f5980b7a5d79fc9d97c782713423f368c66e572 /spec/models/user_spec.rb
parent4747b1ebc408204ff9ac4e6b9afa1d97fcf8c91a (diff)
downloadgitlab-ce-83c5e07949cb1023dde1d282b3969def6f182472.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/user_spec.rb')
-rw-r--r--spec/models/user_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index 04f1bffce0a..91fc53dc5ca 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -84,6 +84,9 @@ RSpec.describe User, feature_category: :user_profile do
it { is_expected.to delegate_method(:use_new_navigation).to(:user_preference) }
it { is_expected.to delegate_method(:use_new_navigation=).to(:user_preference).with_arguments(:args) }
+ it { is_expected.to delegate_method(:achievements_enabled).to(:user_preference) }
+ it { is_expected.to delegate_method(:achievements_enabled=).to(:user_preference).with_arguments(:args) }
+
it { is_expected.to delegate_method(:job_title).to(:user_detail).allow_nil }
it { is_expected.to delegate_method(:job_title=).to(:user_detail).with_arguments(:args).allow_nil }