debian-mirror-gitlab/spec/mailers/emails/admin_notification_spec.rb
2022-08-27 11:52:29 +05:30

14 lines
336 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Emails::AdminNotification do
include EmailSpec::Matchers
include_context 'gitlab email notification'
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