debian-mirror-gitlab/spec/mailers/emails/admin_notification_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
336 B
Ruby
Raw Normal View History

2021-09-30 23:02:18 +05:30
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Emails::AdminNotification do
2022-07-23 23:45:48 +05:30
include EmailSpec::Matchers
include_context 'gitlab email notification'
2021-09-30 23:02:18 +05:30
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