Sha256: 4b097007bca14bdacf6f7862d16a94a5eec606d7f2bfb8bf13db6ae17c67be33

Contents?: true

Size: 632 Bytes

Versions: 10

Compression:

Stored size: 632 Bytes

Contents

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

10 entries across 10 versions & 4 rubygems

Version Path
redis-store-json-3.0.0 redis-actionpack-json/test/test_helper.rb
redis-rack-json-1.5.2 redis-actionpack-json/test/test_helper.rb
redis-actionpack-json-4.0.0 redis-actionpack-json/test/test_helper.rb
redis-actionpack-3.1.5 test/test_helper.rb
redis-actionpack-3.2.3 test/test_helper.rb
redis-actionpack-3.1.4 test/test_helper.rb
redis-actionpack-3.2.2 test/test_helper.rb
redis-actionpack-3.2.1 test/test_helper.rb
redis-actionpack-3.2.1.rc test/test_helper.rb
redis-actionpack-3.1.3 test/test_helper.rb