summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-23 10:45:15 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-23 10:45:15 -0800
commit271d3e4f91e3d158c9112512ac75d0ca51fc928d (patch)
tree5beb5e5588db43ecac46f38725cabf5e573fd1d6 /tasks
parentaa7e0e05395823c66b30f1a810d1720aea3b6d72 (diff)
downloadchef-271d3e4f91e3d158c9112512ac75d0ca51fc928d.tar.gz
Autofixing new Perf cops in 0.37.2
6 Performance/Casecmp 18 Performance/Detect 1 Performance/RangeInclude 27 Performance/RedundantBlockCall 6 Performance/RedundantMatch 5 Performance/RedundantMerge 18 Performance/StringReplacement
Diffstat (limited to 'tasks')
-rw-r--r--tasks/external_tests.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/external_tests.rb b/tasks/external_tests.rb
index f6fd79c86b..a909ec2178 100644
--- a/tasks/external_tests.rb
+++ b/tasks/external_tests.rb
@@ -58,7 +58,7 @@ EXTERNAL_PROJECTS = {
task :external_specs => EXTERNAL_PROJECTS.keys.map { |g| :"#{g.sub("-", "_")}_spec" }
EXTERNAL_PROJECTS.each do |test_gem, commands|
- task :"#{test_gem.gsub("-", "_")}_spec" do
+ task :"#{test_gem.tr("-", "_")}_spec" do
bundle_exec_with_chef(test_gem, commands)
end
end