diff options
Diffstat (limited to 'spec/mailers')
-rw-r--r-- | spec/mailers/abuse_report_mailer_spec.rb | 2 | ||||
-rw-r--r-- | spec/mailers/email_rejection_mailer_spec.rb | 2 | ||||
-rw-r--r-- | spec/mailers/emails/auto_devops_spec.rb | 2 | ||||
-rw-r--r-- | spec/mailers/emails/groups_spec.rb | 2 | ||||
-rw-r--r-- | spec/mailers/emails/issues_spec.rb | 2 | ||||
-rw-r--r-- | spec/mailers/emails/merge_requests_spec.rb | 2 | ||||
-rw-r--r-- | spec/mailers/emails/pages_domains_spec.rb | 2 | ||||
-rw-r--r-- | spec/mailers/emails/pipelines_spec.rb | 2 | ||||
-rw-r--r-- | spec/mailers/emails/profile_spec.rb | 2 | ||||
-rw-r--r-- | spec/mailers/emails/projects_spec.rb | 2 | ||||
-rw-r--r-- | spec/mailers/emails/releases_spec.rb | 2 | ||||
-rw-r--r-- | spec/mailers/notify_spec.rb | 2 | ||||
-rw-r--r-- | spec/mailers/repository_check_mailer_spec.rb | 2 |
13 files changed, 13 insertions, 13 deletions
diff --git a/spec/mailers/abuse_report_mailer_spec.rb b/spec/mailers/abuse_report_mailer_spec.rb index fcbffb52849..4eb616722ac 100644 --- a/spec/mailers/abuse_report_mailer_spec.rb +++ b/spec/mailers/abuse_report_mailer_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe AbuseReportMailer do +RSpec.describe AbuseReportMailer do include EmailSpec::Matchers describe '.notify' do diff --git a/spec/mailers/email_rejection_mailer_spec.rb b/spec/mailers/email_rejection_mailer_spec.rb index 2ce2e3e1410..d28f034105a 100644 --- a/spec/mailers/email_rejection_mailer_spec.rb +++ b/spec/mailers/email_rejection_mailer_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe EmailRejectionMailer do +RSpec.describe EmailRejectionMailer do include EmailSpec::Matchers describe '#rejection' do diff --git a/spec/mailers/emails/auto_devops_spec.rb b/spec/mailers/emails/auto_devops_spec.rb index dd7c12c3143..950fcfbf4df 100644 --- a/spec/mailers/emails/auto_devops_spec.rb +++ b/spec/mailers/emails/auto_devops_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe Emails::AutoDevops do +RSpec.describe Emails::AutoDevops do include EmailSpec::Matchers describe '#auto_devops_disabled_email' do diff --git a/spec/mailers/emails/groups_spec.rb b/spec/mailers/emails/groups_spec.rb index b4746e120e0..01846172440 100644 --- a/spec/mailers/emails/groups_spec.rb +++ b/spec/mailers/emails/groups_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' require 'email_spec' -describe Emails::Groups do +RSpec.describe Emails::Groups do include EmailSpec::Matchers let(:group) { create(:group) } diff --git a/spec/mailers/emails/issues_spec.rb b/spec/mailers/emails/issues_spec.rb index dfd974aa5f3..21e07c0252d 100644 --- a/spec/mailers/emails/issues_spec.rb +++ b/spec/mailers/emails/issues_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' require 'email_spec' -describe Emails::Issues do +RSpec.describe Emails::Issues do include EmailSpec::Matchers it 'adds email methods to Notify' do diff --git a/spec/mailers/emails/merge_requests_spec.rb b/spec/mailers/emails/merge_requests_spec.rb index 541acc47172..fb523092f7a 100644 --- a/spec/mailers/emails/merge_requests_spec.rb +++ b/spec/mailers/emails/merge_requests_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' require 'email_spec' -describe Emails::MergeRequests do +RSpec.describe Emails::MergeRequests do include EmailSpec::Matchers describe "#resolved_all_discussions_email" do diff --git a/spec/mailers/emails/pages_domains_spec.rb b/spec/mailers/emails/pages_domains_spec.rb index 5029a17e4e5..cf17f2e5ebf 100644 --- a/spec/mailers/emails/pages_domains_spec.rb +++ b/spec/mailers/emails/pages_domains_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' require 'email_spec' -describe Emails::PagesDomains do +RSpec.describe Emails::PagesDomains do include EmailSpec::Matchers include_context 'gitlab email notification' diff --git a/spec/mailers/emails/pipelines_spec.rb b/spec/mailers/emails/pipelines_spec.rb index cc901da98dc..f0f23fe2097 100644 --- a/spec/mailers/emails/pipelines_spec.rb +++ b/spec/mailers/emails/pipelines_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' require 'email_spec' -describe Emails::Pipelines do +RSpec.describe Emails::Pipelines do include EmailSpec::Matchers let_it_be(:project) { create(:project, :repository) } diff --git a/spec/mailers/emails/profile_spec.rb b/spec/mailers/emails/profile_spec.rb index cbf42da2085..ee91df360b6 100644 --- a/spec/mailers/emails/profile_spec.rb +++ b/spec/mailers/emails/profile_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' require 'email_spec' -describe Emails::Profile do +RSpec.describe Emails::Profile do include EmailSpec::Matchers include_context 'gitlab email notification' diff --git a/spec/mailers/emails/projects_spec.rb b/spec/mailers/emails/projects_spec.rb index 6c94ed0aa4d..599f62a8113 100644 --- a/spec/mailers/emails/projects_spec.rb +++ b/spec/mailers/emails/projects_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' require 'email_spec' -describe Emails::Projects do +RSpec.describe Emails::Projects do include EmailSpec::Matchers include_context 'gitlab email notification' diff --git a/spec/mailers/emails/releases_spec.rb b/spec/mailers/emails/releases_spec.rb index c614c009434..60e522c7cfa 100644 --- a/spec/mailers/emails/releases_spec.rb +++ b/spec/mailers/emails/releases_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' require 'email_spec' -describe Emails::Releases do +RSpec.describe Emails::Releases do include EmailSpec::Matchers include_context 'gitlab email notification' diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb index 8b99cc41a53..9e613749bdf 100644 --- a/spec/mailers/notify_spec.rb +++ b/spec/mailers/notify_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' require 'email_spec' -describe Notify do +RSpec.describe Notify do include EmailSpec::Helpers include EmailSpec::Matchers include EmailHelpers diff --git a/spec/mailers/repository_check_mailer_spec.rb b/spec/mailers/repository_check_mailer_spec.rb index 1fd4d28ca53..8b1bc33d8be 100644 --- a/spec/mailers/repository_check_mailer_spec.rb +++ b/spec/mailers/repository_check_mailer_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe RepositoryCheckMailer do +RSpec.describe RepositoryCheckMailer do include EmailSpec::Matchers describe '.notify' do |