diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-02 21:29:46 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-02 21:30:06 +0000 |
commit | f8be3ab1ff947a0a6e080a9af0c5b97274963436 (patch) | |
tree | b8ab4a1a2c3d4be870ab6a4107d3be794eb6d296 /spec | |
parent | 35a9ba2148ce4cb992e6f69e8797891d507ecbd5 (diff) | |
download | gitlab-ce-f8be3ab1ff947a0a6e080a9af0c5b97274963436.tar.gz |
Add latest changes from gitlab-org/security/gitlab@14-1-stable-ee
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/omniauth_logging/json_formatter_spec.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/lib/gitlab/omniauth_logging/json_formatter_spec.rb b/spec/lib/gitlab/omniauth_logging/json_formatter_spec.rb deleted file mode 100644 index f65b247d5d7..00000000000 --- a/spec/lib/gitlab/omniauth_logging/json_formatter_spec.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -require 'spec_helper' - -RSpec.describe Gitlab::OmniauthLogging::JSONFormatter do - it "generates log in json format" do - Timecop.freeze(Time.utc(2019, 12, 04, 9, 10, 11, 123456)) do - expect(subject.call(:info, Time.now, 'omniauth', 'log message')) - .to eq %Q({"severity":"info","timestamp":"2019-12-04T09:10:11.123Z","pid":#{Process.pid},"progname":"omniauth","message":"log message"}\n) - end - end -end |