debian-mirror-gitlab/spec/lib/gitlab/database/load_balancing/logger_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
322 B
Ruby
Raw Normal View History

2023-07-09 08:55:56 +05:30
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Gitlab::Database::LoadBalancing::Logger, feature_category: :database do
subject { described_class.new('/dev/null') }
it_behaves_like 'a json logger', {}
it 'excludes context' do
expect(described_class.exclude_context?).to be(true)
end
end