spec/lib/release_tools/auto_deploy/coordinated_pipeline/qa/notifier_spec.rb [16:62]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      environment: 'gprd_cny'
    )
  end

  describe '#execute' do
    context "when qa pipeline can't be found" do
      it 'does nothing' do
        allow(fake_client)
          .to receive(:pipeline_bridges)
          .and_return([])

        expect(ReleaseTools::Slack::CoordinatedPipelineNotification)
          .not_to receive(:new)

        notifier.execute
      end
    end

    context 'when qa pipelines can be found' do
      let(:gprd_cny_deployer_pipeline) do
        create(
          :pipeline,
          :success,
          web_url: 'https://test.gitlab.net/deployer/-/pipelines/123'
        )
      end

      let(:gprd_cny_bridge) do
        create(
          :gitlab_response,
          name: 'deploy:gprd_cny',
          status: 'success',
          downstream_pipeline: gprd_cny_deployer_pipeline
        )
      end

      let(:qa_pipeline) do
        create(
          :pipeline,
          :failed,
          web_url: 'https://test.gitlab.net/quality/-/pipelines/456'
        )
      end

      let(:qa_smoke_bridge) do
        create(
          :gitlab_response,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spec/lib/release_tools/auto_deploy/post_deploy_migrations/qa/notifier_spec.rb [15:61]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      environment: 'gprd_cny'
    )
  end

  describe '#execute' do
    context "when qa pipeline can't be found" do
      it 'does nothing' do
        allow(fake_client)
          .to receive(:pipeline_bridges)
          .and_return([])

        expect(ReleaseTools::Slack::CoordinatedPipelineNotification)
          .not_to receive(:new)

        notifier.execute
      end
    end

    context 'when qa pipelines can be found' do
      let(:gprd_cny_deployer_pipeline) do
        create(
          :pipeline,
          :success,
          web_url: 'https://test.gitlab.net/deployer/-/pipelines/123'
        )
      end

      let(:gprd_cny_bridge) do
        create(
          :gitlab_response,
          name: 'deploy:gprd_cny',
          status: 'success',
          downstream_pipeline: gprd_cny_deployer_pipeline
        )
      end

      let(:qa_pipeline) do
        create(
          :pipeline,
          :failed,
          web_url: 'https://test.gitlab.net/quality/-/pipelines/456'
        )
      end

      let(:qa_smoke_bridge) do
        create(
          :gitlab_response,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



