diff options
| author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-24 15:08:50 +0000 |
|---|---|---|
| committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-24 15:08:50 +0000 |
| commit | 4c5468b40825debc2b7bbe08b975dedd2f7f1523 (patch) | |
| tree | ee64e91b6d014f452e9c9dce6ad9f747a5929108 /spec/views/notify | |
| parent | d081e00aa79079792b040af3323883f1f43830c5 (diff) | |
| download | gitlab-ce-4c5468b40825debc2b7bbe08b975dedd2f7f1523.tar.gz | |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/views/notify')
7 files changed, 7 insertions, 7 deletions
diff --git a/spec/views/notify/changed_milestone_email.html.haml_spec.rb b/spec/views/notify/changed_milestone_email.html.haml_spec.rb index 194b58840a3..50a06683409 100644 --- a/spec/views/notify/changed_milestone_email.html.haml_spec.rb +++ b/spec/views/notify/changed_milestone_email.html.haml_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe 'notify/changed_milestone_email.html.haml' do +RSpec.describe 'notify/changed_milestone_email.html.haml' do let(:milestone) { create(:milestone, title: 'some-milestone') } let(:milestone_link) { milestone_url(milestone) } diff --git a/spec/views/notify/pipeline_failed_email.html.haml_spec.rb b/spec/views/notify/pipeline_failed_email.html.haml_spec.rb index 80dc14b523d..b41933f9c36 100644 --- a/spec/views/notify/pipeline_failed_email.html.haml_spec.rb +++ b/spec/views/notify/pipeline_failed_email.html.haml_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe 'notify/pipeline_failed_email.html.haml' do +RSpec.describe 'notify/pipeline_failed_email.html.haml' do it_behaves_like 'pipeline status changes email' do let(:title) { 'Your pipeline has failed' } let(:status) { :failed } diff --git a/spec/views/notify/pipeline_failed_email.text.erb_spec.rb b/spec/views/notify/pipeline_failed_email.text.erb_spec.rb index 9a4cea408a6..a5c31632b0d 100644 --- a/spec/views/notify/pipeline_failed_email.text.erb_spec.rb +++ b/spec/views/notify/pipeline_failed_email.text.erb_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require 'spec_helper' -describe 'notify/pipeline_failed_email.text.erb' do +RSpec.describe 'notify/pipeline_failed_email.text.erb' do include Devise::Test::ControllerHelpers let(:user) { create(:user, developer_projects: [project]) } diff --git a/spec/views/notify/pipeline_fixed_email.html.haml_spec.rb b/spec/views/notify/pipeline_fixed_email.html.haml_spec.rb index 382fc5ecdd3..2b3b08f8e8c 100644 --- a/spec/views/notify/pipeline_fixed_email.html.haml_spec.rb +++ b/spec/views/notify/pipeline_fixed_email.html.haml_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe 'notify/pipeline_fixed_email.html.haml' do +RSpec.describe 'notify/pipeline_fixed_email.html.haml' do it_behaves_like 'pipeline status changes email' do let(:title) { 'Your pipeline has been fixed!' } let(:status) { :success } diff --git a/spec/views/notify/pipeline_fixed_email.text.erb_spec.rb b/spec/views/notify/pipeline_fixed_email.text.erb_spec.rb index ec540dc3f77..8640998acaa 100644 --- a/spec/views/notify/pipeline_fixed_email.text.erb_spec.rb +++ b/spec/views/notify/pipeline_fixed_email.text.erb_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe 'notify/pipeline_fixed_email.text.erb' do +RSpec.describe 'notify/pipeline_fixed_email.text.erb' do it_behaves_like 'pipeline status changes email' do let(:title) { 'Your pipeline has been fixed!' } let(:status) { :success } diff --git a/spec/views/notify/pipeline_success_email.html.haml_spec.rb b/spec/views/notify/pipeline_success_email.html.haml_spec.rb index 417909fd67b..51ea7ef5066 100644 --- a/spec/views/notify/pipeline_success_email.html.haml_spec.rb +++ b/spec/views/notify/pipeline_success_email.html.haml_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe 'notify/pipeline_success_email.html.haml' do +RSpec.describe 'notify/pipeline_success_email.html.haml' do it_behaves_like 'pipeline status changes email' do let(:title) { 'Your pipeline has passed' } let(:status) { :success } diff --git a/spec/views/notify/pipeline_success_email.text.erb_spec.rb b/spec/views/notify/pipeline_success_email.text.erb_spec.rb index 4a914cab85e..3acf4dd3e26 100644 --- a/spec/views/notify/pipeline_success_email.text.erb_spec.rb +++ b/spec/views/notify/pipeline_success_email.text.erb_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe 'notify/pipeline_success_email.text.erb' do +RSpec.describe 'notify/pipeline_success_email.text.erb' do it_behaves_like 'pipeline status changes email' do let(:title) { 'Your pipeline has passed' } let(:status) { :success } |
