diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-05-12 18:24:40 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-05-12 18:24:40 +0000 |
commit | 2d83e4c5d15cdfd8da71be6ee0d5746b8ec9ef99 (patch) | |
tree | 3c17731b38ef42902cbe347254e9d8c4c5434cd6 /spec/helpers | |
parent | ec1a3c093f7a8d2fe29e46ec06e6b35e3f1d97ff (diff) | |
parent | bbd1be002b15ad50b559c217c4e2f9d50a79ef20 (diff) | |
download | gitlab-ce-2d83e4c5d15cdfd8da71be6ee0d5746b8ec9ef99.tar.gz |
Merge branch 'dz-project-list-cache-key' into 'master'
Improve project list cache key
Closes #31863
See merge request !11325
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/projects_helper_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/projects_helper_spec.rb b/spec/helpers/projects_helper_spec.rb index be97973c693..54c5ba57bdf 100644 --- a/spec/helpers/projects_helper_spec.rb +++ b/spec/helpers/projects_helper_spec.rb @@ -66,8 +66,8 @@ describe ProjectsHelper do describe "#project_list_cache_key", redis: true do let(:project) { create(:project) } - it "includes the namespace" do - expect(helper.project_list_cache_key(project)).to include(project.namespace.cache_key) + it "includes the route" do + expect(helper.project_list_cache_key(project)).to include(project.route.cache_key) end it "includes the project" do |