From 9517d14fd31544d4fe186af126c85571ac75510f Mon Sep 17 00:00:00 2001 From: Erwan Date: Fri, 10 Jan 2020 20:06:33 +0100 Subject: [PATCH] Fixes rubocop offence --- spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index c8b4c288..27d4d607 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -105,6 +105,6 @@ SPECS = Pathname.new(__FILE__).dirname FIXTURES = SPECS.join('fixtures') FINDERS_FIXTURES = FIXTURES.join('finders') DYNAMIC_FINDERS_FIXTURES = FIXTURES.join('dynamic_finders') -ERROR_404_URL_PATTERN = %r{/[a-z\d]{7}\.html$} +ERROR_404_URL_PATTERN = %r{/[a-z\d]{7}\.html$}.freeze redefine_constant(:DB_DIR, FIXTURES.join('db'))