Changeset 9102
- Timestamp:
- 03/27/08 22:33:50 (3 months ago)
- Files:
-
- trunk/railties/CHANGELOG (modified) (1 diff)
- trunk/railties/lib/initializer.rb (modified) (1 diff)
- trunk/railties/lib/rails_generator/generators/applications/app/app_generator.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/railties/CHANGELOG
r9101 r9102 1 1 *SVN* 2 3 * Stop adding the antiquated test/mocks/* directories and only add them to the path if they're still there for legacy reasons [DHH] 2 4 3 5 * Added that gems can now be plugins if they include rails/init.rb #11444 [jbarnette] trunk/railties/lib/initializer.rb
r9101 r9102 616 616 617 617 def default_load_paths 618 paths = ["#{root_path}/test/mocks/#{environment}"] 618 paths = [] 619 620 # Add the old mock paths only if the directories exists 621 paths.concat(Dir["#{root_path}/test/mocks/#{environment}"]) if File.exists?("#{root_path}/test/mocks/#{environment}") 619 622 620 623 # Add the app's controller directory trunk/railties/lib/rails_generator/generators/applications/app/app_generator.rb
r8457 r9102 156 156 test/functional 157 157 test/integration 158 test/mocks/development159 test/mocks/test160 158 test/unit 161 159 vendor