spec/lib/release_tools/update_gitaly_merge_request_spec.rb [52:79]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      expect(instance).to receive(:exists?).and_return(true)
      expect(instance).to receive(:fresh?).and_return(false)
      expect(instance).to receive(:remote_issuable).and_return(remote)

      expect(instance).not_to be_notifiable
    end

    it 'returns false when fresh' do
      instance = described_class.new

      expect(instance).to receive(:exists?).and_return(true)
      expect(instance).to receive(:fresh?).and_return(true)

      expect(instance).not_to be_notifiable
    end

    it 'returns false when not yet created' do
      instance = described_class.new

      expect(instance).to receive(:exists?).and_return(false)

      expect(instance).not_to be_notifiable
    end
  end

  describe '#mark_as_stale' do
    it 'posts a comment on the merge request' do
      instance = described_class.new
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spec/lib/release_tools/update_kas_merge_request_spec.rb [52:79]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      expect(instance).to receive(:exists?).and_return(true)
      expect(instance).to receive(:fresh?).and_return(false)
      expect(instance).to receive(:remote_issuable).and_return(remote)

      expect(instance).not_to be_notifiable
    end

    it 'returns false when fresh' do
      instance = described_class.new

      expect(instance).to receive(:exists?).and_return(true)
      expect(instance).to receive(:fresh?).and_return(true)

      expect(instance).not_to be_notifiable
    end

    it 'returns false when not yet created' do
      instance = described_class.new

      expect(instance).to receive(:exists?).and_return(false)

      expect(instance).not_to be_notifiable
    end
  end

  describe '#mark_as_stale' do
    it 'posts a comment on the merge request' do
      instance = described_class.new
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



