diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-28 18:10:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-28 18:10:51 +0300 |
commit | 8966e39395e22465ac3ff58407868b872a3ecffe (patch) | |
tree | 63c5c6f8cef63f939ff7cabfc12d7fdb0a2bd0d1 /spec/models | |
parent | 2ebd699ede8f213f6e8f21ba7d1d9904197b2984 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/user_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 84a23d86956..74ef7b71545 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -144,6 +144,7 @@ RSpec.describe User do it { is_expected.to have_many(:callouts).class_name('Users::Callout') } it { is_expected.to have_many(:group_callouts).class_name('Users::GroupCallout') } it { is_expected.to have_many(:project_callouts).class_name('Users::ProjectCallout') } + it { is_expected.to have_many(:created_projects).dependent(:nullify).class_name('Project') } describe '#user_detail' do it 'does not persist `user_detail` by default' do |