diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-16 06:12:13 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-16 06:12:13 +0000 |
commit | ccca6cec346d169fa2521c390760af9bd885ea77 (patch) | |
tree | 4a1d45f0529a763f67be88f108eb6f5e57fc329e /spec | |
parent | 766a6a66d3122b3e0227203cfff45a17ecd233bb (diff) | |
download | gitlab-ce-ccca6cec346d169fa2521c390760af9bd885ea77.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/grape_logging/loggers/perf_logger_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/grape_logging/loggers/perf_logger_spec.rb b/spec/lib/gitlab/grape_logging/loggers/perf_logger_spec.rb index 641fb27a071..ef4bc0ca104 100644 --- a/spec/lib/gitlab/grape_logging/loggers/perf_logger_spec.rb +++ b/spec/lib/gitlab/grape_logging/loggers/perf_logger_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' RSpec.describe Gitlab::GrapeLogging::Loggers::PerfLogger do - let(:mock_request) { OpenStruct.new(env: {}) } + let(:mock_request) { double('env', env: {}) } describe ".parameters" do subject { described_class.new.parameters(mock_request, nil) } |