Sha256: 699aa147aef08ac47ed44d03eb30a7ac51380cdfde5e704e7b103823f8671d52

Contents?: true

Size: 589 Bytes

Versions: 3

Compression:

Stored size: 589 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 }

# Add client shortcut.
class ActiveSupport::TestCase
  def client
    Cachers.client
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cachers-4.1.0.2 test/test_helper.rb
cachers-4.1.0.1 test/test_helper.rb
cachers-4.1.0.0 test/test_helper.rb