diff options
Diffstat (limited to 'spec/requests/whats_new_controller_spec.rb')
| -rw-r--r-- | spec/requests/whats_new_controller_spec.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/requests/whats_new_controller_spec.rb b/spec/requests/whats_new_controller_spec.rb index b17fa7e4a26..ba7b5d4c000 100644 --- a/spec/requests/whats_new_controller_spec.rb +++ b/spec/requests/whats_new_controller_spec.rb @@ -2,7 +2,11 @@ require 'spec_helper' -RSpec.describe WhatsNewController do +RSpec.describe WhatsNewController, :clean_gitlab_redis_cache do + after do + ReleaseHighlight.instance_variable_set(:@file_paths, nil) + end + describe 'whats_new_path' do let(:item) { double(:item) } let(:highlights) { double(:highlight, items: [item], map: [item].map, next_page: 2) } |
