module MinitestRedisFixtures

Module to set a before_setup Minitest hook, to reset Redis to the state specified by the fixture before each test runs

Public Instance Methods

before_setup() click to toggle source

Clear Redis DB and load the fixture before the setup step of each test

Calls superclass method
# File lib/redis_fixtures/minitest.rb, line 5
def before_setup
  super
  RedisFixtures.load_fixtures
end