diff options
Diffstat (limited to 'spec/models/project_setting_spec.rb')
-rw-r--r-- | spec/models/project_setting_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_setting_spec.rb b/spec/models/project_setting_spec.rb index 719e51018ac..8ad232b7e0c 100644 --- a/spec/models/project_setting_spec.rb +++ b/spec/models/project_setting_spec.rb @@ -214,7 +214,7 @@ RSpec.describe ProjectSetting, type: :model, feature_category: :groups_and_proje context 'when emails are enabled in parent group' do before do - allow(project.namespace).to receive(:emails_disabled?).and_return(false) + allow(project.namespace).to receive(:emails_enabled?).and_return(true) end it 'returns true' do |