diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-08 09:09:41 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-08 09:09:41 +0000 |
commit | 707742e59ca57d1f2ea00d65fa35a7b9a5ded398 (patch) | |
tree | 8dcb287cd941eab2acf6d62de519d1e915686175 /spec/mailers | |
parent | a0834ebcaa12d126a20e07b6502121e1dc58c9b9 (diff) | |
download | gitlab-ce-707742e59ca57d1f2ea00d65fa35a7b9a5ded398.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/mailers')
-rw-r--r-- | spec/mailers/emails/projects_spec.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/spec/mailers/emails/projects_spec.rb b/spec/mailers/emails/projects_spec.rb index 6c23625d4a3..a1f19a972f1 100644 --- a/spec/mailers/emails/projects_spec.rb +++ b/spec/mailers/emails/projects_spec.rb @@ -19,11 +19,9 @@ RSpec.describe Emails::Projects do create(:project_incident_management_setting, project: project, create_issue: true) end - let(:incident_issues_url) do - project_issues_url(project, label_name: 'incident') - end + let(:incidents_url) { project_incidents_url(project) } - it { is_expected.to have_body_text(incident_issues_url) } + it { is_expected.to have_body_text(incidents_url) } end end |