2009-06-30 20:26:46 -04:00
|
|
|
ORIG_ARGV = ARGV.dup
|
|
|
|
|
2010-02-23 20:31:17 -05:00
|
|
|
require File.expand_path("../../../load_paths", __FILE__)
|
2006-09-02 20:18:31 -04:00
|
|
|
|
2009-02-03 21:25:37 -05:00
|
|
|
require 'stringio'
|
2006-09-02 20:18:31 -04:00
|
|
|
require 'test/unit'
|
2009-10-16 15:49:39 -04:00
|
|
|
require 'fileutils'
|
2009-02-03 21:25:37 -05:00
|
|
|
|
2007-03-01 18:29:56 -05:00
|
|
|
require 'active_support'
|
2009-10-15 17:50:02 -04:00
|
|
|
require 'active_support/core_ext/logger'
|
2006-09-02 20:18:31 -04:00
|
|
|
|
2009-09-25 23:54:41 -04:00
|
|
|
require 'action_controller'
|
2009-12-31 15:28:48 -05:00
|
|
|
require 'rails/all'
|
2009-09-25 23:54:41 -04:00
|
|
|
|
2009-12-28 20:45:17 -05:00
|
|
|
# TODO: Remove these hacks
|
|
|
|
class TestApp < Rails::Application
|
2009-10-16 15:49:39 -04:00
|
|
|
config.root = File.dirname(__FILE__)
|
2009-10-19 22:22:23 -04:00
|
|
|
end
|
2009-12-28 20:45:17 -05:00
|
|
|
Rails.application = TestApp
|