diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-09-14 13:04:24 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-09-14 13:04:43 -0700 |
commit | d58ee2300854f4a5a4e0ff4b7e09f412eb2dc189 (patch) | |
tree | a43ea0e294de529b298944f70b1373987181402c /railties/test/generators | |
parent | b8e914709c06fceac51384f7484c002fcb715196 (diff) | |
download | rails-d58ee2300854f4a5a4e0ff4b7e09f412eb2dc189.tar.gz rails-d58ee2300854f4a5a4e0ff4b7e09f412eb2dc189.tar.bz2 rails-d58ee2300854f4a5a4e0ff4b7e09f412eb2dc189.zip |
Require rubygems in generators test so Action Dispatch can find rack
Diffstat (limited to 'railties/test/generators')
-rw-r--r-- | railties/test/generators/generators_test_helper.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/railties/test/generators/generators_test_helper.rb b/railties/test/generators/generators_test_helper.rb index e837fdb859..2a9d680c6a 100644 --- a/railties/test/generators/generators_test_helper.rb +++ b/railties/test/generators/generators_test_helper.rb @@ -9,9 +9,11 @@ else end $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../../lib" +require 'generators' + +require 'rubygems' $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../../../activerecord/lib" $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../../../actionpack/lib" -require 'generators' require 'active_record' require 'action_dispatch' |