aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/routing_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Rails::InfoController tests passingschneems2012-05-241-0/+12
| | | | This includes new tests for /rails/info/routes
* Define only writer method for queue, as reader is declaredCarlos Antonio da Silva2012-04-281-2/+0
| | | | Remove deprecation warning of method redefined.
* Routes reloader knows how to reload external filesYehuda Katz2012-04-251-0/+61
|
* Allow loading external route files from the routerJose and Yehuda2012-04-251-0/+24
| | | | | | | | | This feature enables the ability to load an external routes file from the router via: draw :filename External routes files go in +config/routes+. This feature works in both engines and applications.
* Remove default match without specified methodJose and Yehuda2012-04-241-10/+10
| | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964
* convert railties to use AS::TestCaseAaron Patterson2012-01-051-1/+1
|
* should be using a / in this route rather than a #Aaron Patterson2011-08-311-1/+1
|
* Solve the RAILS_ENV problem in the railties tests in a more generic wayJon Leighton2011-06-061-0/+4
|
* prepend the assets route instead of appending, closes #436José Valim2011-05-081-2/+2
|
* reload_routes! is part of the public API and should not be removed.José Valim2010-10-021-1/+8
|
* Fix a routing test. Reorganize middleware tests.José Valim2010-10-021-48/+8
|
* third parameter for rack must respond to eachAaron Patterson2010-09-221-2/+2
|
* Add RouteSet#appendCarl Lerche2010-09-171-0/+28
| | | Allows specifying blocks to the routeset that will get appended after the RouteSet is drawn.
* Fix routing testPiotr Sarnacki2010-09-111-4/+2
| | | | Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
* Fix warning by removing |map| from routes.drawPiotr Sarnacki2010-09-081-1/+1
|
* Removed deprecated router API from railtiesPiotr Sarnacki2010-09-051-8/+8
|
* Ensure routes are loaded only after the initialization process finishes, ↵José Valim2010-09-021-0/+17
| | | | ensuring all configuration options were applied.
* Improve best_standards_support to use only IE=Edge in development modewycats2010-08-091-31/+65
|
* Add a header that tells Internet Explorer (all versions) to use the best ↵wycats2010-07-271-0/+1
| | | | | | available standards support. This ensures that IE doesn't go into quirks mode because it has been blacklisted by too many users pressing the incompatible button. It also tells IE to use the ChromeFrame renderer, if the user has installed the plugin. This guarantees that the best available standards support will be used on the client.
* Add a failing test for ticket #4874José Valim2010-06-171-0/+14
|
* nested controllers need to be explicitly declared with the new mapperJoshua Peek2010-02-281-1/+2
|
* Refactor railties test, break huge files in smaller chunks and move ↵José Valim2010-01-261-45/+33
| | | | initializers to application folder.
* Add test case for load initializers before routing behavior.Prem Sichanugrist2010-01-211-0/+28
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* 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
* Merge branch 'master' of github.com:rails/railsJoshua Peek2009-12-211-7/+7
|\ | | | | | | | | | | Conflicts: railties/test/initializer/initialize_i18n_test.rb railties/test/initializer/path_test.rb
* | Update routes.rb template to use App nameJoshua Peek2009-12-211-7/+7
|/
* Default route was removed from default route config, patch up failing tests.Joshua Peek2009-12-211-0/+18
|
* 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
|
* Some basic route discovery testsJoshua Peek2009-12-011-0/+85