0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/spec/helpers/redis_snapshot_helper.rb
2023-01-09 11:49:28 +00:00

9 lines
213 B
Ruby
Vendored

# frozen_string_literal: true
module RedisSnapshotHelper
def use_redis_snapshotting
before(:each) { RedisSnapshot.begin_faux_transaction }
after(:each) { RedisSnapshot.end_faux_transaction }
end
end