Matthew Draper
87b3e226d6
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
...
This reverts commit 3420a14590
, reversing
changes made to afb66a5a59
.
2017-07-02 02:15:17 +09:30
Kir Shatrov
cfade1ec7e
Enforce frozen string in Rubocop
2017-07-01 02:11:03 +03:00
Rafael Mendonça França
fe1f4b2ad5
Add more rubocop rules about whitespaces
2016-10-29 01:17:49 -02:00
Rafael Mendonça França
55f9b8129a
Add three new rubocop rules
...
Style/SpaceBeforeBlockBraces
Style/SpaceInsideBlockBraces
Style/SpaceInsideHashLiteralBraces
Fix all violations in the repository.
2016-08-16 04:30:11 -03:00
Xavier Noria
a9dc45459a
code gardening: removes redundant selfs
...
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.
2016-08-08 01:12:38 +02:00
Xavier Noria
783763bde9
applies new string literal convention in railties/test
...
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 19:16:09 +02:00
Aaron Patterson
c25cf09c13
override controller_class
on the request
...
Just like the other places. We need to refactor this because the code
is almost identical to that in the action pack tests
2015-08-24 15:18:29 -07:00
Ankit Gupta
533a73c125
removing unused and already required require's
...
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
2015-05-11 11:33:28 -04:00
Akira Matsuda
9b3fa766d4
Why do we add a top-level constant here?
2015-04-25 17:07:54 +09:00
Vipul A M
6eced6a1fe
Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards.
2015-02-03 20:51:40 +05:30
Aaron Patterson
5b27f1ea18
add a test for prepending SCRIPT_NAME to generated urls
2014-08-08 11:41:21 -07:00