1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/test/abstract_unit.rb
2010-01-31 19:13:43 -08:00

20 lines
456 B
Ruby

ORIG_ARGV = ARGV.dup
require File.expand_path("../../../load_paths", __FILE__)
$:.unshift File.expand_path("../../builtin/rails_info", __FILE__)
require 'stringio'
require 'test/unit'
require 'fileutils'
require 'active_support'
require 'active_support/core_ext/logger'
require 'action_controller'
require 'rails/all'
# TODO: Remove these hacks
class TestApp < Rails::Application
config.root = File.dirname(__FILE__)
end
Rails.application = TestApp