aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/path_generation_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
| | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
* code gardening: removes redundant selfsXavier Noria2016-08-081-1/+1
| | | | | | | | | A few have been left for aesthetic reasons, but have made a pass and removed most of them. Note that if the method `foo` returns an array, `foo << 1` is a regular push, nothing to do with assignments, so no self required.
* applies new string literal convention in railties/testXavier Noria2016-08-061-11/+11
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* override `controller_class` on the requestAaron Patterson2015-08-241-9/+9
| | | | | Just like the other places. We need to refactor this because the code is almost identical to that in the action pack tests
* removing unused and already required require'sAnkit Gupta2015-05-111-2/+0
| | | | | custom test - Does not include EnvHelpers and the require is not needed path generation test - require abstract_unit which has . rails/all requires rails and corresponding
* Why do we add a top-level constant here?Akira Matsuda2015-04-251-4/+2
|
* Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 ↵Vipul A M2015-02-031-1/+0
| | | | onwards.
* add a test for prepending SCRIPT_NAME to generated urlsAaron Patterson2014-08-081-0/+88