Welcome to mirror list, hosted at ThFree Co, Russian Federation.

null_handler_spec.rb « handlers « watchdog « memory « gitlab « lib « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 96cb02393f963e14bdecd7ea5b0ddf1e7a3f389a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'fast_spec_helper'

RSpec.describe Gitlab::Memory::Watchdog::Handlers::NullHandler, feature_category: :cloud_connector do
  subject(:handler) { described_class.instance }

  describe '#call' do
    it 'does nothing' do
      expect(handler.call).to be(false)
    end
  end
end