summaryrefslogtreecommitdiff
path: root/spec/mailers/repository_check_mailer_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/mailers/repository_check_mailer_spec.rb')
-rw-r--r--spec/mailers/repository_check_mailer_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/mailers/repository_check_mailer_spec.rb b/spec/mailers/repository_check_mailer_spec.rb
index 00613c7b671..384660f7221 100644
--- a/spec/mailers/repository_check_mailer_spec.rb
+++ b/spec/mailers/repository_check_mailer_spec.rb
@@ -17,5 +17,12 @@ describe RepositoryCheckMailer do
expect(mail).to have_subject 'GitLab Admin | 3 projects failed their last repository check'
end
+
+ context 'with footer and header' do
+ subject { described_class.notify(1) }
+
+ it_behaves_like 'appearance header and footer enabled'
+ it_behaves_like 'appearance header and footer not enabled'
+ end
end
end