From 3de042f4465018bb2b39bf6b23ecc98dfccbeab9 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Sun, 5 Jun 2016 18:35:12 +0200 Subject: [PATCH 1/2] rubocop: fix Style/StringLiterals --- spec/defines/host_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/defines/host_spec.rb b/spec/defines/host_spec.rb index 83cdccce9..a09e66000 100644 --- a/spec/defines/host_spec.rb +++ b/spec/defines/host_spec.rb @@ -25,7 +25,7 @@ content = catalogue.resource('concat::fragment', "dhcp_host_#{title}").send(:parameters)[:content] expected_lines = [ "host #{title} {", - " # test_comment", + ' # test_comment', " hardware ethernet #{params['mac']};", " fixed-address #{params['ip']};", " ddns-hostname \"#{title}\";", From 04b1b4d0da95791c4afe3892def18aeb384fa630 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Sun, 5 Jun 2016 18:44:40 +0200 Subject: [PATCH 2/2] fix spec test --- spec/defines/host_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/defines/host_spec.rb b/spec/defines/host_spec.rb index a09e66000..a19120ff6 100644 --- a/spec/defines/host_spec.rb +++ b/spec/defines/host_spec.rb @@ -48,6 +48,7 @@ content = catalogue.resource('concat::fragment', "dhcp_host_#{title}").send(:parameters)[:content] expected_lines = [ "host #{title} {", + ' # test_comment', " hardware ethernet #{params['mac']};", " fixed-address #{params['ip']};", " ddns-hostname \"#{title}\";",