Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
francois-ferrandis committed Feb 28, 2024
1 parent 95cb2df commit 6a3871f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
ActionMailer::Base.deliveries.clear
FactoryBot.rewind_sequences
Rails.cache.clear
Redis.with_connection(&:flushall) # clears custom redis usages
Redis.with_connection { |redis| redis.del(redis.keys("*")) } # clears custom redis usages
Warden.test_reset!
WebMock.reset!
end
Expand Down

0 comments on commit 6a3871f

Please sign in to comment.