test/test_helper.rb
###
# This handles an issue where the store is setup in tests prior to being able to set the namespace
###
This handles an issue where the store is setup in tests prior to being able to set the namespace
This handles an issue where the store is setup in tests prior to being able to set the namespace
def store
  if Coverband.configuration.store.redis_namespace=='coverband_test'
    Coverband.configuration.store
  else
    Coverband.configuration.redis_namespace = 'coverband_test'
    Coverband.configuration.instance_variable_set(:@store, nil)
    Coverband.configuration.store
  end
end
def store if Coverband . configuration . store . redis_namespace == 'coverband_test' Coverband . configuration . store else Coverband . configuration . redis_namespace = 'coverband_test' Coverband . configuration . instance_variable_set ( :@store , nil ) Coverband . configuration . store end end
This handles an issue where the store is setup in tests prior to being able to set the namespace
This handles an issue where the store is setup in tests prior to being able to set the namespace