summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/diff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-01 03:09:04 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-01 03:09:04 +0000
commitd0356412dfc91d02585f0a177c65677dbe2944a3 (patch)
tree5a2ac806b6ea6113475bb2a759f6b15c186fb482 /spec/lib/gitlab/diff
parent72817fd7c07d1b812623f8d5e27fc7bcecb4eed5 (diff)
downloadgitlab-ce-d0356412dfc91d02585f0a177c65677dbe2944a3.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/diff')
-rw-r--r--spec/lib/gitlab/diff/highlight_cache_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/lib/gitlab/diff/highlight_cache_spec.rb b/spec/lib/gitlab/diff/highlight_cache_spec.rb
index bff51709c40..218c393c409 100644
--- a/spec/lib/gitlab/diff/highlight_cache_spec.rb
+++ b/spec/lib/gitlab/diff/highlight_cache_spec.rb
@@ -144,4 +144,10 @@ describe Gitlab::Diff::HighlightCache, :clean_gitlab_redis_cache do
cache.clear
end
end
+
+ describe 'metrics' do
+ it 'defines :gitlab_redis_diff_caching_memory_usage_bytes histogram' do
+ expect(described_class).to respond_to(:gitlab_redis_diff_caching_memory_usage_bytes)
+ end
+ end
end