Skip to content

Commit 35d5070

Browse files
committed
Disable HashSyntax for small code snippet
1 parent ee44250 commit 35d5070

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/spec_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@
99

1010
include RspecPuppetFacts
1111

12+
# rubocop:disable Style/HashSyntax
1213
default_facts = {
1314
puppetversion: Puppet.version,
1415
facterversion: Facter.version,
1516
}
17+
# rubocop:enable Style/HashSyntax
1618

1719
default_facts_path = File.expand_path(File.join(File.dirname(__FILE__), 'default_facts.yml'))
1820
default_module_facts_path = File.expand_path(File.join(File.dirname(__FILE__), 'default_module_facts.yml'))

0 commit comments

Comments
 (0)