f540ffcef6
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
14 lines
294 B
Ruby
14 lines
294 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'spec_helper'
|
|
|
|
describe Gitlab::AppLogger, :request_store do
|
|
subject { described_class }
|
|
|
|
it 'builds a logger once' do
|
|
expect(::Logger).to receive(:new).and_call_original
|
|
|
|
subject.info('hello world')
|
|
subject.error('hello again')
|
|
end
|
|
end
|