diff options
author | Carl Lerche <carllerche@mac.com> | 2009-10-15 14:50:02 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2009-10-15 14:54:12 -0700 |
commit | 97296b11e2c4011ea5522c4de0153f7ffa6a47ae (patch) | |
tree | c21e07dede9bb91108839ccafbbfa29f2e4838d7 /railties/test/generators/app_generator_test.rb | |
parent | e1490d4e4c60211173d51e7b21c16dbe4c2d942a (diff) | |
download | rails-97296b11e2c4011ea5522c4de0153f7ffa6a47ae.tar.gz rails-97296b11e2c4011ea5522c4de0153f7ffa6a47ae.tar.bz2 rails-97296b11e2c4011ea5522c4de0153f7ffa6a47ae.zip |
Have config/application.rb contain the application definition and require that file instead of config/boot.rb or config/environment.rb in script/*.
Diffstat (limited to 'railties/test/generators/app_generator_test.rb')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 6e46c4ddc0..5d6a9f6de9 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -65,7 +65,7 @@ class AppGeneratorTest < GeneratorsTestCase def test_activerecord_is_removed_from_frameworks_if_skip_activerecord_is_given run_generator ["--skip-activerecord"] - assert_file "config/environment.rb", /config\.frameworks \-= \[ :active_record \]/ + assert_file "config/application.rb", /config\.frameworks \-= \[ :active_record \]/ end def test_prototype_and_test_unit_are_added_by_default |