Sha256: 0b61594df1453dcdbecb0ea02acb96c79e4d169b620246cdb7d5e822b1c0de7f

Contents?: true

Size: 656 Bytes

Versions: 12

Compression:

Stored size: 656 Bytes

Contents

require 'bundler/setup'
require 'minitest/autorun'
require 'active_support/core_ext/numeric/time'

ENV["RAILS_ENV"] = "test"
require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "rails/test_help"

Rails.backtrace_cleaner.remove_silencers!

def with_autoload_path(path)
  path = File.join(File.dirname(__FILE__), "fixtures", path)
  if ActiveSupport::Dependencies.autoload_paths.include?(path)
    yield
  else
    begin
      ActiveSupport::Dependencies.autoload_paths << path
      yield
    ensure
      ActiveSupport::Dependencies.autoload_paths.reject! {|p| p == path}
      ActiveSupport::Dependencies.clear
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
redis-actionpack-5.4.0 test/test_helper.rb
redis-actionpack-5.3.0 test/test_helper.rb
slab-redis-actionpack-5.3.0 test/test_helper.rb
redis-actionpack-5.2.0 test/test_helper.rb
redis-actionpack-5.2.0.pre test/test_helper.rb
redis-actionpack-5.1.0 test/test_helper.rb
redis-actionpack-5.0.2 test/test_helper.rb
redis-actionpack-5.0.1 test/test_helper.rb
redis-actionpack-5.0.0 test/test_helper.rb
redis-actionpack-5.0.0.pre test/test_helper.rb
redis-actionpack-4.0.1 test/test_helper.rb
redis-actionpack-4.0.0 test/test_helper.rb