2021-07-12 11:09:19 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
RSpec.describe Emails::AdminNotification do
|
2022-05-24 05:09:17 -04:00
|
|
|
include EmailSpec::Matchers
|
|
|
|
include_context 'gitlab email notification'
|
|
|
|
|
2021-07-12 11:09:19 -04:00
|
|
|
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
|