rails/actionpack/test
eileencodes ec14aad419 Fix route creation when format is a blank string
Commit bff61ba, while reducing allocations, caused a regression when an empty
format is passed to a route.

This can happen in cases where you're using an anchor tag, for example:
`https://example.com/parent/575256966.#child_1032289285`.

Because of this change `format` was getting sent in
`parameterized_parts` when previously it was not included. This resulted
in blank `format`'s being returned as `.` when if there was an extension
included it would be `.extension`. Since there was no extension this
caused incorrect URL's.

The test shows this would result in `/posts/show/1.` instead of
`/posts/show/1` which causes bad urls since the format is not present.
2015-09-02 09:18:46 -04:00
..
abstract Get rid of mocha tests - part 1 2015-08-24 12:24:07 +02:00
assertions use a lookup table for assert_response 2015-07-13 18:10:36 -07:00
controller Fix route creation when format is a blank string 2015-09-02 09:18:46 -04:00
dispatch Fix bug where cookies mutated by request were not persisted 2015-09-01 08:42:30 -04:00
fixtures Add failing spec on utf8 filename with percent character 2015-08-04 21:27:22 +09:00
journey symbols will always be constructed with strings. 💣 2015-08-18 15:20:19 -07:00
lib/controller Removing unused fake models 2014-09-07 22:51:14 -03:00
routing Remove deprecate *_path helpers in email views 2015-01-04 11:58:42 -03:00
tmp Use safe tmp dir 2009-08-13 21:03:25 -05:00
abstract_unit.rb provide a request and response to all controllers 2015-08-25 18:35:44 -07:00