diff options
-rw-r--r-- | spec/support/helpers/email_helpers.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/helpers/email_helpers.rb b/spec/support/helpers/email_helpers.rb index d7b0d53fd2a..a7175491fa0 100644 --- a/spec/support/helpers/email_helpers.rb +++ b/spec/support/helpers/email_helpers.rb @@ -40,8 +40,8 @@ module EmailHelpers def have_referable_subject(referable, include_project: true, include_group: false, reply: false) context = [] - context << [referable.project.name] if include_project && referable.project - context << [referable.project.group.name] if include_group && referable.project.group + context << referable.project.name if include_project && referable.project + context << referable.project.group.name if include_group && referable.project.group prefix = if context.any? |