diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-11 03:08:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-11 03:08:35 +0300 |
commit | 4cdbecb46571861c20908aa6b1dda684f6baf76b (patch) | |
tree | f4a21054d3dbcc79dea420eb0bf6fd66f5b8c60b /spec/models | |
parent | 4f584f7b63332ac0ffc5e533a1dde89b0c365728 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models')
-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 a83ebdfc076..dd4b174a38f 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -53,6 +53,9 @@ describe User do 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) } + it { is_expected.to delegate_method(:experience_level).to(:user_preference) } + it { is_expected.to delegate_method(:experience_level=).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 } end |