diff options
author | Rémy Coutable <remy@rymai.me> | 2016-05-11 08:59:44 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-05-11 08:59:44 +0000 |
commit | e77a9a342e175c7274350ef6d655bde496eca778 (patch) | |
tree | 0eb8e88db37a165b9098960caa32d0cf09ba52f1 /spec/rails_helper.rb | |
parent | de5ae1bf0604c9d250145e2c6aeaa0adfdc760bf (diff) | |
parent | 377583a361988d9884808a3c3f5375497a9d5b56 (diff) | |
download | gitlab-ce-e77a9a342e175c7274350ef6d655bde496eca778.tar.gz |
Merge branch 'casecmp-cop' into 'master'
Enable Rubocop Casecmp Performance Cop.
Also fixes the errors caused by enabling the cop.
`casecmp` is more performant than `.downcase` and `==`.
See also: https://github.com/bbatsov/rubocop/blob/master/lib/rubocop/cop/performance/casecmp.rb
See merge request !3957
Diffstat (limited to 'spec/rails_helper.rb')
0 files changed, 0 insertions, 0 deletions