mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 14:12:10 +08:00
DEV: Stop leaking state in dashboard controller specs (#19608)
A few specs in `dashboard_controller_spec.rb` set some state in redis but don't clean it up afterwards which causes other specs to fail when they're ran after `dashboard_controller_spec.rb`. Related commit: 18467d4.
This commit is contained in:
@ -155,7 +155,7 @@ RSpec.describe DiscourseUpdates do
|
||||
end
|
||||
|
||||
after do
|
||||
Discourse.redis.del('new_features')
|
||||
DiscourseUpdates.clean_state
|
||||
end
|
||||
|
||||
it 'returns all items on the first run' do
|
||||
|
Reference in New Issue
Block a user