diff options
Diffstat (limited to 'spec/workers/pipeline_notification_worker_spec.rb')
-rw-r--r-- | spec/workers/pipeline_notification_worker_spec.rb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/spec/workers/pipeline_notification_worker_spec.rb b/spec/workers/pipeline_notification_worker_spec.rb index b9bd234d168..603ae52ed1e 100644 --- a/spec/workers/pipeline_notification_worker_spec.rb +++ b/spec/workers/pipeline_notification_worker_spec.rb @@ -56,8 +56,8 @@ describe PipelineNotificationWorker do context 'with success pipeline notification on' do before do - watcher.global_notification_setting - .update(level: 'custom', success_pipeline: true) + watcher.global_notification_setting. + update(level: 'custom', success_pipeline: true) end it_behaves_like 'sending emails' @@ -67,8 +67,8 @@ describe PipelineNotificationWorker do let(:receivers) { [pusher] } before do - watcher.global_notification_setting - .update(level: 'custom', success_pipeline: false) + watcher.global_notification_setting. + update(level: 'custom', success_pipeline: false) end it_behaves_like 'sending emails' @@ -87,8 +87,8 @@ describe PipelineNotificationWorker do context 'with failed pipeline notification on' do before do - watcher.global_notification_setting - .update(level: 'custom', failed_pipeline: true) + watcher.global_notification_setting. + update(level: 'custom', failed_pipeline: true) end it_behaves_like 'sending emails' @@ -98,8 +98,8 @@ describe PipelineNotificationWorker do let(:receivers) { [pusher] } before do - watcher.global_notification_setting - .update(level: 'custom', failed_pipeline: false) + watcher.global_notification_setting. + update(level: 'custom', failed_pipeline: false) end it_behaves_like 'sending emails' @@ -117,8 +117,8 @@ describe PipelineNotificationWorker do before do pipeline.project.team << [watcher, Gitlab::Access::GUEST] - watcher.global_notification_setting - .update(level: 'custom', failed_pipeline: true) + watcher.global_notification_setting. + update(level: 'custom', failed_pipeline: true) perform_enqueued_jobs do subject.perform(pipeline.id) |