diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-09-01 10:05:17 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-09-01 10:05:17 -0500 |
commit | ad49895fe82da5fcad2f401c1238c274e944c062 (patch) | |
tree | 640a0207cfa1aa03d2dffd78bea718dfd0657dd7 /railties/test/initializer/test_helper.rb | |
parent | cc1efe7e5af32789a9ed0f80528e629861dbe6a7 (diff) | |
download | rails-ad49895fe82da5fcad2f401c1238c274e944c062.tar.gz rails-ad49895fe82da5fcad2f401c1238c274e944c062.tar.bz2 rails-ad49895fe82da5fcad2f401c1238c274e944c062.zip |
Railties test helpers need to activate rack gem
Diffstat (limited to 'railties/test/initializer/test_helper.rb')
-rw-r--r-- | railties/test/initializer/test_helper.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/test/initializer/test_helper.rb b/railties/test/initializer/test_helper.rb index 9d7dfff1c0..4cb9c1b814 100644 --- a/railties/test/initializer/test_helper.rb +++ b/railties/test/initializer/test_helper.rb @@ -5,6 +5,9 @@ RAILS_ROOT = File.join(File.dirname(__FILE__), "root") RAILS_FRAMEWORK_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..')) +require 'rubygems' +gem 'rack', '~> 1.0.0' + require "test/unit" # We are purposely avoiding adding things to the load path to catch bugs that only happen in the genuine article require File.join(RAILS_FRAMEWORK_ROOT, 'activesupport', 'lib', 'active_support', 'testing', 'isolation') |