diff options
author | Damien Mathieu <42@dmathieu.com> | 2011-07-03 17:08:39 +0200 |
---|---|---|
committer | Damien Mathieu <42@dmathieu.com> | 2011-07-03 20:22:30 +0200 |
commit | dc2d8af1a34d1310450f5e22d497dc3df1adcbde (patch) | |
tree | 9e459e3a8d4556c0eacc0d1859391cd7d652e9cc /railties | |
parent | 17693a99ef37ca1444fbc9adb855f3ee49bc3102 (diff) | |
download | rails-dc2d8af1a34d1310450f5e22d497dc3df1adcbde.tar.gz rails-dc2d8af1a34d1310450f5e22d497dc3df1adcbde.tar.bz2 rails-dc2d8af1a34d1310450f5e22d497dc3df1adcbde.zip |
Load the generators test helper and properly load it's test case
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/railties/generators_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/test/railties/generators_test.rb b/railties/test/railties/generators_test.rb index fe59dcd52b..08dd1ebbc2 100644 --- a/railties/test/railties/generators_test.rb +++ b/railties/test/railties/generators_test.rb @@ -1,7 +1,8 @@ RAILS_ISOLATED_ENGINE = true require "isolation/abstract_unit" -require "#{RAILS_FRAMEWORK_ROOT}/railties/lib/rails/generators/test_case" +require 'generators/generators_test_helper' +require "rails/generators/test_case" module RailtiesTests class GeneratorTest < Rails::Generators::TestCase |