Sha256: d0a4e53a09133d996fe26c59ddee5f545e982aa81edae9033ba11150d3d3c008
Contents?: true
Size: 592 Bytes
Versions: 1
Compression:
Stored size: 592 Bytes
Contents
# Configure Rails Environment ENV['RAILS_ENV'] = 'test' require File.expand_path('../dummy/config/environment.rb', __FILE__) ActiveRecord::Migrator.migrations_paths = [File.expand_path('../dummy/db/migrate', __FILE__)] require 'rails/test_help' # Filter out Minitest backtrace while allowing backtrace from other libraries # to be shown. Minitest.backtrace_filter = Minitest::BacktraceFilter.new # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } # Clear redis database class ActiveSupport::TestCase def teardown $redis.flushall end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cachers-0.1.1 | test/test_helper.rb |