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
eileencodes 789f3be020 Clarify route encoding test
Since this test changed in 9220935 I noticed that it really doesn't make
sense anymore. I split the tests into 2 groups to explain what each one
does.

First these routes should throw a `bad_request` when the encoding isn't
valid. We're expecting UTF8 encoding and passing binary, that should be
a bad request.

For the second test we are setting the `show` route to set
`self.binary_params_for?` for that route which will convert the
parameters and return a `:ok` instead of a `:bad_request`.
2017-08-01 15:10:51 -04:00
..
request Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
routing Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
session Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
system_testing Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
callbacks_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
cookies_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
debug_exceptions_test.rb [Action Pack] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
exception_wrapper_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
executor_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
header_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
live_response_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
mapper_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
middleware_stack_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
mime_type_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
mount_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
prefix_generation_test.rb [Action Pack] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
rack_cache_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
reloader_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
request_id_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
request_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
response_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
routing_assertions_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
routing_test.rb Clarify route encoding test 2017-08-01 15:10:51 -04:00
runner_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
show_exceptions_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
ssl_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
static_test.rb [Action Pack] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
test_request_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
test_response_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
uploaded_file_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
url_generation_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00