aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
* Scaffolding generates new routing dsl examplesJoshua Peek2009-12-095-8/+8
|
* Remove assert_raises usage that only test-unit 1 supports. Breaks minitest ↵Jeremy Kemper2009-12-061-2/+2
| | | | and test-unit 2.
* Reorganize autoloads:Carlhuda2009-12-021-0/+1
| | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications.
* Add support for bare ActiveSupport via config.active_support.bareCarlhuda2009-12-022-1/+12
|
* Remove global Rails initializersCarlhuda2009-12-023-30/+19
|
* Some basic route discovery testsJoshua Peek2009-12-011-0/+85
|
* Notifications: extract central Notifier, cordon off the internal Fanout ↵Jeremy Kemper2009-11-281-24/+6
| | | | implementation, and segregate instrumentation concerns
* Fix the rackup test to correctly use Rack::Builder.parse_fileCarl Lerche2009-11-251-1/+2
|
* Have script/* and Rakefile use the application objectCarlhuda2009-11-241-17/+4
|
* Find all controllers in memory to use for routingJoshua Peek2009-11-231-5/+0
|
* Updates notifications tests in railties to reflect changes to the ↵Carlhuda2009-11-231-1/+3
| | | | notifications API
* Ensure generator fallbacks work even when a context is given.José Valim2009-11-231-0/+7
| | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Also load generators at lib/rails_generators.José Valim2009-11-231-0/+0
| | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Just use abstract_unitJeremy Kemper2009-11-141-12/+1
|
* Fix bundler environment checkJeremy Kemper2009-11-141-1/+1
|
* Refactor pluginsYehuda Katz + Carl Lerche2009-11-119-599/+238
|
* test-unit 2: filter_backtrace is privateJeremy Kemper2009-11-101-2/+2
|
* Fix railties isolated tests if bundler environment doesn't existJoshua Peek2009-11-091-2/+6
|
* Contortions to work around brittle naming dependencyJeremy Kemper2009-11-091-6/+5
|
* Ruby 1.9.2: work around inherited hook being called before yielding to blockJeremy Kemper2009-11-091-7/+5
|
* Fix generators tests that expect a class nameJeremy Kemper2009-11-051-1/+1
|
* Ruby 1.9: Rack apps must *always* take an env arg on 1.9Jeremy Kemper2009-11-051-1/+1
|
* Update Ruby version check to 1.8.7Yehuda Katz2009-11-051-10/+18
|
* Add the ability to merge initializers from various objects in order.Yehuda Katz + Carl Lerche2009-11-051-2/+6
|
* Conceptually unify instance & global initializersYehuda Katz + Carl Lerche2009-11-051-12/+60
|
* Configure generator when needed rather than during initializationJeremy Kemper2009-11-031-1/+2
|
* Pass config.generators options along when RAILS_GENERATORS is set and show ↵José Valim2009-11-032-3/+5
| | | | | | --force-plural message just once. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Remove --freeze (since Rails will come bundled in all new apps) and update ↵José Valim2009-11-033-38/+25
| | | | | | gem action to change Gemfile instead of config.environment. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Avoid duplicated names on help description and show proper error message if ↵José Valim2009-11-032-2/+13
| | | | | | trying to load a Rails 2.x generator. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ensure that generators can be invoked from any directory.José Valim2009-11-022-6/+11
| | | | Signed-off-by: Engine Yard <engineyard@Engine-Yards-MacBook-Pro.local>
* CI breakageYehuda Katz2009-11-0219-27/+23
| | | | This reverts commit a288b74f1c75c6f100de7611a5093a421f1ad6d1.
* Generators should use Rails.root instead of Dir.pwd [#3408 status:resolved]José Valim2009-10-2819-23/+27
| | | | Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Tests pass againYehuda Katz2009-10-271-10/+10
|
* Update initializableYehuda Katz + Carl Lerche2009-10-271-10/+85
|
* Fix broken testsJeremy Kemper2009-10-271-1/+1
|
* Refactored railties' isolation tests to be able to run script/* scripts.Carl Lerche2009-10-212-4/+32
|
* Have all the tests running off a single GemfileYehuda Katz + Carl Lerche2009-10-203-39/+15
|
* Exclude gem backtrace filter if rubygems is not loadedJoshua Peek2009-10-201-16/+17
|
* Bundle for railties tests tooJeremy Kemper2009-10-192-21/+29
|
* Merge commit 'josevalim/fixes'Jeremy Kemper2009-10-192-5/+45
|\ | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb
| * By default use ActiveModel API in controller generators, unless otherwise ↵José Valim2009-10-171-4/+37
| | | | | | | | specified [#3123 status:resolved]
| * Make app generatoor specs green once again.José Valim2009-10-171-2/+9
| |
* | Fix bad assumption in BacktraceCleaner test [#3249 state:resolved]Mike Gunderloy2009-10-181-1/+1
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Rails info tests needs use_controllersJoshua Peek2009-10-181-4/+8
| |
* | Use Rails.root in railties testsJoshua Peek2009-10-183-5/+5
| |
* | RAILS_GEM_VERSION is obsoleteJoshua Peek2009-10-181-1/+1
| |
* | Remove some remnants of config.gemCarl Lerche2009-10-171-220/+0
|/
* Remove config.gem in favor of using the bundler. This makes config/boot.rb ↵Carl Lerche2009-10-1611-19/+22
| | | | | | obsolete. The bundler library is at: http://github.com/wycats/bundler/ and is a rubygem.
* Use Rails.application where we want a valid rack appJoshua Peek2009-10-161-1/+1
|
* Use Rails.initialize! where we just want to run the initializers and aren't ↵Joshua Peek2009-10-166-33/+33
| | | | concerned about the config