diff options
Diffstat (limited to 'app/models/integrations/pipelines_email.rb')
-rw-r--r-- | app/models/integrations/pipelines_email.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/integrations/pipelines_email.rb b/app/models/integrations/pipelines_email.rb index 585bc14242a..efba35cc2a8 100644 --- a/app/models/integrations/pipelines_email.rb +++ b/app/models/integrations/pipelines_email.rb @@ -57,7 +57,7 @@ module Integrations PipelineNotificationWorker.new.perform(pipeline_id, recipients: all_recipients) end - def can_test? + def testable? project&.ci_pipelines&.any? end |