aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/test_unit/railtie.rb
Commit message (Collapse)AuthorAgeFilesLines
* Added config.app_generators to allow configuring application's generators ↵Piotr Sarnacki2010-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from railties. With config.generators becomes a way to configure generators for current instance only. For example: module Blog class Engine < Rails::Engine config.generators do |g| g.orm :active_record end config.app_generators do |g| g.test_framework :rspec end end end such definition sets :active_record as orm for engine and :rspec as test_framework for application. The values set with app_generators can be overwritten in application using config.generators as you would normally do: module MyApp class Application < Rails::Application config.generators do |g| g.test_framework :test_unit end end end
* Move application configuration to the application configuration object, ↵José Valim2010-03-261-2/+0
| | | | remove railtie_name and engine_name and allow to set the configuration object.
* Resolve test/unit load ordering by removing backtrace filter from boot ↵Jeremy Kemper2010-02-111-9/+1
| | | | initializers
* Check if Test::Unit is defined before adding backtrace filter.José Valim2010-02-071-1/+1
|
* Add backtrace cleaner on test unit railtie.José Valim2010-02-071-0/+8
|
* Only load testing tasks if test unit is being used.José Valim2010-01-291-2/+2
|
* Cleanup the test_unit generator move into the railtieCarl Lerche2010-01-281-1/+7
|
* Test::Unit Railtie Carlhuda2010-01-281-0/+11