From c9a7131191c41a5154b92dc5a18d347524d7dd36 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Mon, 11 Jul 2016 16:55:52 +0200 Subject: rubocop: disable Style/RegexpLiteral this cop doesn't make much sense in our spec file. the regex delimiter would be {}, but we often have to test for these braces. --- spec/classes/unattended_upgrades_spec.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec') diff --git a/spec/classes/unattended_upgrades_spec.rb b/spec/classes/unattended_upgrades_spec.rb index 2262fe8..c3b9673 100644 --- a/spec/classes/unattended_upgrades_spec.rb +++ b/spec/classes/unattended_upgrades_spec.rb @@ -1,5 +1,6 @@ require 'spec_helper' +# rubocop:disable Style/RegexpLiteral describe 'unattended_upgrades' do let(:file_unattended) { '/etc/apt/apt.conf.d/50unattended-upgrades' } let(:file_periodic) { '/etc/apt/apt.conf.d/10periodic' } -- cgit v1.2.3