From 8288b6440451146568a8c524cde7170299c8246a Mon Sep 17 00:00:00 2001 From: Josh Holland Date: Wed, 20 May 2015 17:15:54 +0100 Subject: [PATCH] Fix test failures --- spec/unit/defines/selenium_config_spec.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spec/unit/defines/selenium_config_spec.rb b/spec/unit/defines/selenium_config_spec.rb index 3ac7dc1..69cf18a 100644 --- a/spec/unit/defines/selenium_config_spec.rb +++ b/spec/unit/defines/selenium_config_spec.rb @@ -14,12 +14,13 @@ :options => '-Dwebdriver.enable.native.events=1', :java => 'java', } - + p.merge!(params) if params it do - should contain_file("/etc/init.d/selenium#{title}").with({ + should contain_file('init-script').with({ 'ensure' => 'file', + 'path' => "/etc/init.d/selenium#{title}", 'owner' => 'root', 'group' => 'root', 'mode' => '0755',