mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
19 lines
390 B
Ruby
19 lines
390 B
Ruby
ORIG_ARGV = ARGV.dup
|
|
|
|
require File.expand_path("../../../load_paths", __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
|