From 61f6fddd08e3075ec3e053ab94ee169ea18f7d45 Mon Sep 17 00:00:00 2001 From: Jared Beck Date: Sat, 5 Mar 2016 17:08:16 -0500 Subject: [PATCH] Fix Style/StringLiteralsInInterpolation --- .rubocop_todo.yml | 7 ------- Rakefile | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 4af54302..de9f24e3 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -342,10 +342,3 @@ Style/SpaceInsideParens: # SupportedStyles: use_perl_names, use_english_names Style/SpecialGlobalVars: Enabled: false - -# Offense count: 1 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles. -# SupportedStyles: single_quotes, double_quotes -Style/StringLiteralsInInterpolation: - Enabled: false diff --git a/Rakefile b/Rakefile index 4bd98520..77e36939 100644 --- a/Rakefile +++ b/Rakefile @@ -4,7 +4,7 @@ Bundler::GemHelper.install_tasks desc "Set a relevant database.yml for testing" task :prepare do ENV["DB"] ||= "sqlite" - FileUtils.cp "test/dummy/config/database.#{ENV["DB"]}.yml", "test/dummy/config/database.yml" + FileUtils.cp "test/dummy/config/database.#{ENV['DB']}.yml", "test/dummy/config/database.yml" end require "rake/testtask"