aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
* AppName::Application.root should workYehuda Katz2010-01-021-0/+5
|
* Some railties cleanup:Carl Lerche2009-12-316-6/+12
| | | | | | * Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin
* Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rbCarl Lerche2009-12-317-8/+8
|
* Raise a helpful error if config.frameworks is usedCarl Lerche2009-12-311-0/+16
|
* Fully remove config.frameworks in favor of requires in boot.rbCarl Lerche2009-12-314-9/+11
|
* Clarify assertionJeremy Kemper2009-12-301-2/+2
|
* Revert "Add config.action_controller.include behavior to plugins."Jeremy Kemper2009-12-301-16/+0
| | | | | | | | This reverts commit 7e8b7f46bfc086a36db996420fbee93348c5268e. Conflicts: railties/lib/rails/plugin.rb
* Use the correct method for eager loading autoloadsCarl Lerche2009-12-291-0/+16
|
* Add rails app --edge and rails app --devJosé Valim2009-12-291-0/+13
|
* Finally remove rails/initializer.rbCarl Lerche2009-12-291-1/+0
|
* Don't require initializer.rb in core.rbCarl Lerche2009-12-283-11/+26
|
* Add the ability to have plugins load rake tasks.Carl Lerche2009-12-281-0/+27
|
* Fix copy/pasted test class nameJeremy Kemper2009-12-281-97/+99
|
* Fix ruby version testJeremy Kemper2009-12-281-40/+9
|
* Add config.action_controller.include behavior to plugins.José Valim2009-12-271-0/+16
|
* Merge remote branch 'origin/master'Carlhuda2009-12-231-1/+1
|\ | | | | | | | | Conflicts: railties/lib/rails/application.rb
| * Fix reference to Application#configuration to use #configJeremy Kemper2009-12-231-1/+1
| |
| * Isolation tests intentionally avoid loading any state (because they're often ↵Carlhuda2009-12-231-3/+3
| | | | | | | | testing things that have their own load path semantics that should not be polluted), so rack/test is not yet on the load path. Moving require "rack/test" into the setup means and after boot_rails means that it'll be required after the laod path has been altered to add in the Rails vendor/gems
* | Rackup config.ru from the correct directoryCarlhuda2009-12-231-2/+4
| |
* | Require active_support/all unless specifically requested to be left out.Carlhuda2009-12-231-0/+6
| |
* | Finish moving config.frameworks-dependent code to the framework pluginCarlhuda2009-12-231-0/+2
| |
* | Make /rails/info/properties work again. Also, the mocked up tests were ↵Carlhuda2009-12-231-0/+5
| | | | | | | | passing so we added a test that actually tested this functionality.
* | Isolation tests intentionally avoid loading any state (because they're often ↵Carlhuda2009-12-231-3/+3
| | | | | | | | testing things that have their own load path semantics that should not be polluted), so rack/test is not yet on the load path. Moving require "rack/test" into the setup means and after boot_rails means that it'll be required after the laod path has been altered to add in the Rails vendor/gems
* | Moving out some framework specific initializers into the framework libraries.Carlhuda2009-12-232-23/+35
| |
* | Raise an exception if an initializer is defined without a blockCarlhuda2009-12-231-0/+10
| |
* | tests pass with requiring the frameworks in rails.rbCarlhuda2009-12-235-61/+46
|/
* Merge branch 'master' of github.com:rails/railsJoshua Peek2009-12-217-104/+106
|\ | | | | | | | | | | Conflicts: railties/test/initializer/initialize_i18n_test.rb railties/test/initializer/path_test.rb
| * Blog -> Blog::Application. Leave the toplevel module up for grabs.Jeremy Kemper2009-12-213-4/+4
| |
| * test.rb, dev.rb, and production.rb just reopen the Application class; no ↵Carlhuda2009-12-213-10/+16
| | | | | | | | more hax required
* | Update routes.rb template to use App nameJoshua Peek2009-12-215-9/+20
|/
* Default route was removed from default route config, patch up failing tests.Joshua Peek2009-12-211-0/+18
|
* Add the ability for plugins to set default configuration settings.Carl Lerche2009-12-153-0/+58
|
* Procs don't call themselvesJoshua Peek2009-12-151-0/+32
| | | | Fixes dev mode reloading [#3574 state:resolved]
* Fix loading plugin and engine route setsJoshua Peek2009-12-141-0/+38
|
* 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
|