1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/dispatch
Carlos Antonio da Silva d03aa104e0 Force given path to http methods in mapper to skip canonical action checking
This fixes the following scenario:

    resources :contacts do
      post 'new', action: 'new', on: :collection, as: :new
    end

Where the /new path is not generated because it's considered a canonical
action, part of the normal resource actions:

    new_contacts POST   /contacts(.:format)          contacts#new

Fixes #2999
2012-05-04 15:17:04 -03:00
..
middleware_stack make sure string keys are always looked up from the class cache 2011-03-02 10:11:28 -08:00
request testing session store behavior 2012-05-02 17:29:33 -07:00
session testing session store behavior 2012-05-02 17:29:33 -07:00
callbacks_test.rb ActionDispatch: add missing test for callbacks 2012-02-16 15:58:58 +02:00
cookies_test.rb Dont stream back cookie value if it was set to the same value 2012-04-30 17:04:17 +04:00
debug_exceptions_test.rb Removed unused assigns from ActionView::Template::Error 2012-01-20 20:13:29 +04:00
header_test.rb Enable ActionDispatch::Http::Headers to support fetch 2012-05-02 11:22:34 -07:00
mapper_test.rb Fix the build 2012-04-25 16:43:01 -05:00
middleware_stack_test.rb Fix GH #4873. Allow swapping middleware of same class 2012-02-04 22:59:13 +09:00
mime_type_test.rb Added parsing of arbitrary media type parameters. 2012-03-05 15:10:23 -05:00
mount_test.rb adding tests for #4029 2011-12-19 13:34:54 -08:00
prefix_generation_test.rb Remove default match without specified method 2012-04-24 22:52:26 -05:00
rack_cache_test.rb Dump and load rack-cache stuff. 2011-05-17 17:33:17 -04:00
rack_test.rb
reloader_test.rb Use a BodyProxy instead of including a Module that responds to close. 2012-01-13 19:46:13 -02:00
request_id_test.rb Remove default match without specified method 2012-04-24 22:52:26 -05:00
request_test.rb Valid ips v4 and v6. Right logic for working with X-FORWARDED-FOR header and tests. 2012-04-25 14:50:59 +04:00
response_test.rb deprecate String#encoding_aware? and remove its usage 2011-12-24 15:57:54 +03:00
routing_assertions_test.rb Fix the assert_recognizes test method so that it works when there are 2012-02-24 13:16:31 +00:00
routing_test.rb Force given path to http methods in mapper to skip canonical action checking 2012-05-04 15:17:04 -03:00
show_exceptions_test.rb Removed unused assigns from ActionView::Template::Error 2012-01-20 20:13:29 +04:00
ssl_test.rb Fix secure cookies when there are more than one space before the secure 2012-03-19 16:31:57 -03:00
static_test.rb fix ArgumentError being raised in case of invalid byte sequences 2012-03-08 20:41:25 +09:00
test_request_test.rb assert nothing raised for setting a cookie value to nil in ActionDispatch 2011-07-14 14:01:39 -05:00
test_response_test.rb
uploaded_file_test.rb adds delegetion for eof? to AD::Http::UploadedFile 2012-03-27 22:53:33 +02:00
url_generation_test.rb Remove default match without specified method 2012-04-24 22:52:26 -05:00