spec/lib/release_tools/promotion/checks/active_gprd_deployments_spec.rb [41:59]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        )
      end
    end
  end

  context 'when the environment is enabled' do
    let(:chef_client) do
      instance_double(
        ReleaseTools::Chef::Client,
        pipeline_url: 'https://example.com/some/pipeline/url',
        environment_enabled?: true
      )
    end

    describe '#to_slack_blocks' do
      it 'shows check blocks' do
        slack_blocks = check.to_slack_blocks
        expect(slack_blocks.length).to eq(1)
        expect(slack_blocks.first.dig(:text, :text)).to eq(
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spec/lib/release_tools/promotion/checks/active_gstg_deployments_spec.rb [41:59]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        )
      end
    end
  end

  context 'when the environment is enabled' do
    let(:chef_client) do
      instance_double(
        ReleaseTools::Chef::Client,
        pipeline_url: 'https://example.com/some/pipeline/url',
        environment_enabled?: true
      )
    end

    describe '#to_slack_blocks' do
      it 'shows check blocks' do
        slack_blocks = check.to_slack_blocks
        expect(slack_blocks.length).to eq(1)
        expect(slack_blocks.first.dig(:text, :text)).to eq(
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



