Skip to content
Snippets Groups Projects
Commit 2b9b6e74 authored by Dylan Griffith's avatar Dylan Griffith
Browse files

Merge branch 'clean-redis-at-spec-startup' into 'master'

Clean Redis data at spec startup

See merge request !102842



Merged-by: default avatarDylan Griffith <dyl.griffith@gmail.com>
Approved-by: Suraj Tripathi's avatarSuraj Tripathi <stripathi@gitlab.com>
Approved-by: default avatarDylan Griffith <dyl.griffith@gmail.com>
Co-authored-by: Heinrich Lee Yu's avatarHeinrich Lee Yu <heinrich@gitlab.com>
parents b3b57d2f 1151cc55
No related branches found
No related tags found
1 merge request!102842Clean Redis data at spec startup
Pipeline #685288051 passed
......@@ -19,4 +19,10 @@
public_send("redis_#{underscored_name}_cleanup!")
end
end
config.before(:suite) do
Gitlab::Redis::ALL_CLASSES.each do |instance_class|
instance_class.with(&:flushdb)
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment