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
Guillermo Iguaran 0d3a9e8a6b Allow setting a symbol as path in scope on routes
Was surprising found that this example doesn't work:

  scope :api do
    resources :users
  end

and the right form to use it is:

  scope 'api' do
    resources :users
  end

I think this should work similary as `namespace` where both are allowed.
These two are equivalent:

  namespace :api do
    resources :users
  end

  namespace 'api' do
    resources :user
  end
2012-11-21 22:59:00 -05:00
..
middleware_stack
request Merge pull request #7444 from szimek/params_parser_raises_parsing_error 2012-09-26 10:55:29 -07:00
routing fixing most tests on Ruby 2.0 2012-09-25 15:30:22 -07:00
session Sign cookies using key deriver 2012-11-03 14:57:53 -02:00
best_standards_support_test.rb Fix #8086 (BestStandardsSupport rewrites app X-UA-Compatible header, now appends). 2012-11-01 15:15:46 +04:00
callbacks_test.rb
cookies_test.rb Allow users to change the default salt if they want, shouldn't be necessary 2012-11-03 14:57:54 -02:00
debug_exceptions_test.rb Add Missing Keys from Journey on failed URL format 2012-08-28 08:53:45 -07:00
header_test.rb add test for fetch with a block 2012-10-18 15:22:58 -07:00
live_response_test.rb push header merge down to a private method so that live responses can have their own header object 2012-08-13 14:20:04 -04:00
mapper_test.rb Raise a helpful error message on #mount misuse 2012-07-10 16:17:02 -07:00
middleware_stack_test.rb Add the #unshift method to the middleware stack 2012-05-18 16:41:52 +10:00
mime_type_test.rb depreacte unused Mime::Type#verify_request? and Mime::Type.browser_generated_types 2012-09-24 17:24:18 -07:00
mount_test.rb Make sure :via works with mount 2012-08-20 10:25:23 -05:00
prefix_generation_test.rb test case to lock down the behavior of #7842 2012-11-04 15:15:29 +01:00
rack_cache_test.rb
rack_test.rb depreacte unused Mime::Type#verify_request? and Mime::Type.browser_generated_types 2012-09-24 17:24:18 -07:00
reloader_test.rb
request_id_test.rb Remove default match without specified method 2012-04-24 22:52:26 -05:00
request_test.rb Correct the use of params options when given to url_for 2012-11-19 21:43:48 -02:00
response_test.rb set default_headers to nil after use it to avoid order dependent tests 2012-09-08 14:51:22 -05:00
routing_assertions_test.rb Raise Assertion instead of RoutingError for routing assertion failures. 2012-05-20 06:21:32 -05:00
routing_test.rb Allow setting a symbol as path in scope on routes 2012-11-21 22:59:00 -05:00
show_exceptions_test.rb
spec_type_test.rb Register AD::IntegrationTest for minitest's spec DSL 2012-09-24 15:49:40 -06:00
ssl_test.rb
static_test.rb
test_request_test.rb Fix bug when Rails.application is defined but is nil. See #881 2012-05-21 15:24:18 -04:00
test_response_test.rb
uploaded_file_test.rb fixes the suite for uploaded files 2012-09-23 00:50:30 +02:00
url_generation_test.rb Add passing tests for generating URLs with nested SCRIPT_NAMEs 2012-05-07 14:53:57 -07:00