summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/memory/watchdog/handlers/null_handler_spec.rb
blob: 09c76de961121c422d0647a629fdc241318592b8 (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: :application_performance do
  subject(:handler) { described_class.instance }

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