summaryrefslogtreecommitdiff
path: root/spec/views/notify/pipeline_failed_email.html.haml_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/views/notify/pipeline_failed_email.html.haml_spec.rb')
-rw-r--r--spec/views/notify/pipeline_failed_email.html.haml_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/views/notify/pipeline_failed_email.html.haml_spec.rb b/spec/views/notify/pipeline_failed_email.html.haml_spec.rb
index bf633a118ca..b821b015c97 100644
--- a/spec/views/notify/pipeline_failed_email.html.haml_spec.rb
+++ b/spec/views/notify/pipeline_failed_email.html.haml_spec.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require 'spec_helper'
describe 'notify/pipeline_failed_email.html.haml' do
@@ -33,6 +35,8 @@ describe 'notify/pipeline_failed_email.html.haml' do
expect(rendered).to have_content "##{pipeline.id}"
expect(rendered).to have_content pipeline.user.name
end
+
+ it_behaves_like 'correct pipeline information for pipelines for merge requests'
end
context 'pipeline without user' do