summaryrefslogtreecommitdiff
path: root/spec/models/concerns
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2017-11-03 11:26:52 +0000
committerDouwe Maan <douwe@gitlab.com>2017-11-03 11:26:52 +0000
commit6f1a4ba457afd92a12913a9eddd7af483f5cfff1 (patch)
treea95d5a1aa50afc13068cb11167c5b075b05994f1 /spec/models/concerns
parent7961c235d57bd1933d6687619a7b2162b9cf3bfc (diff)
downloadgitlab-ce-6f1a4ba457afd92a12913a9eddd7af483f5cfff1.tar.gz
Add system hooks user_rename and group_rename
Diffstat (limited to 'spec/models/concerns')
-rw-r--r--spec/models/concerns/routable_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/concerns/routable_spec.rb b/spec/models/concerns/routable_spec.rb
index ab8773b7ede..3106207811a 100644
--- a/spec/models/concerns/routable_spec.rb
+++ b/spec/models/concerns/routable_spec.rb
@@ -134,6 +134,7 @@ describe Group, 'Routable' do
context 'with RequestStore active', :request_store do
it 'does not load the route table more than once' do
+ group.expires_full_path_cache
expect(group).to receive(:uncached_full_path).once.and_call_original
3.times { group.full_path }