summaryrefslogtreecommitdiff
path: root/spec/mailers/emails/admin_notification_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/mailers/emails/admin_notification_spec.rb')
-rw-r--r--spec/mailers/emails/admin_notification_spec.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/mailers/emails/admin_notification_spec.rb b/spec/mailers/emails/admin_notification_spec.rb
new file mode 100644
index 00000000000..90381eb8ffd
--- /dev/null
+++ b/spec/mailers/emails/admin_notification_spec.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+require 'spec_helper'
+
+RSpec.describe Emails::AdminNotification do
+ it 'adds email methods to Notify' do
+ subject.instance_methods.each do |email_method|
+ expect(Notify).to be_respond_to(email_method)
+ end
+ end
+end