diff options
Diffstat (limited to 'spec/models/user_spec.rb')
-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 |