summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-11-16 06:12:13 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-11-16 06:12:13 +0000
commitccca6cec346d169fa2521c390760af9bd885ea77 (patch)
tree4a1d45f0529a763f67be88f108eb6f5e57fc329e /spec
parent766a6a66d3122b3e0227203cfff45a17ecd233bb (diff)
downloadgitlab-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.rb2
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) }