diff options
author | Xavier Noria <fxn@hashref.com> | 2010-06-22 23:17:20 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-06-24 00:17:28 +0200 |
commit | 6f83a5036d8a9c3f8ed74755ff6d42bc3f6e9982 (patch) | |
tree | 08916d1c4d01a93af7f2b4d830417b7d32f271d1 /railties/test/generators/actions_test.rb | |
parent | 4a0a640d33e1c729d38c6091bb1394fbda059b5c (diff) | |
download | rails-6f83a5036d8a9c3f8ed74755ff6d42bc3f6e9982.tar.gz rails-6f83a5036d8a9c3f8ed74755ff6d42bc3f6e9982.tar.bz2 rails-6f83a5036d8a9c3f8ed74755ff6d42bc3f6e9982.zip |
renames load_(once_)paths to autoload_(once_)paths in dependencies and config
Diffstat (limited to 'railties/test/generators/actions_test.rb')
-rw-r--r-- | railties/test/generators/actions_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/test/generators/actions_test.rb b/railties/test/generators/actions_test.rb index 65fbf61902..0472ca73a8 100644 --- a/railties/test/generators/actions_test.rb +++ b/railties/test/generators/actions_test.rb @@ -130,9 +130,9 @@ class ActionsTest < Rails::Generators::TestCase def test_environment_should_include_data_in_environment_initializer_block run_generator - load_paths = 'config.load_paths += %w["#{Rails.root}/app/extras"]' - action :environment, load_paths - assert_file 'config/application.rb', /#{Regexp.escape(load_paths)}/ + autoload_paths = 'config.autoload_paths += %w["#{Rails.root}/app/extras"]' + action :environment, autoload_paths + assert_file 'config/application.rb', /#{Regexp.escape(autoload_paths)}/ end def test_environment_with_block_should_include_block_contents_in_environment_initializer_block |