summaryrefslogtreecommitdiff
path: root/spec/acceptance
diff options
context:
space:
mode:
authorHunter Haugen <hunter@puppetlabs.com>2014-06-26 13:17:07 -0700
committerHunter Haugen <hunter@puppetlabs.com>2014-06-26 13:17:07 -0700
commit1b893ff653d64ca8a923ab37a0c222fc35c0eb5f (patch)
tree234f57c2ed5b205acadd3b8040358d6202a77f51 /spec/acceptance
parenta3de9853078f63541090c29f9f9d911869fbf071 (diff)
downloadpuppet-stdlib-1b893ff653d64ca8a923ab37a0c222fc35c0eb5f.tar.gz
puppet-stdlib-1b893ff653d64ca8a923ab37a0c222fc35c0eb5f.tar.bz2
Need quotes for spaces in path
Diffstat (limited to 'spec/acceptance')
-rwxr-xr-xspec/acceptance/fqdn_rotate_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/acceptance/fqdn_rotate_spec.rb b/spec/acceptance/fqdn_rotate_spec.rb
index ee2afb5..c37b35a 100755
--- a/spec/acceptance/fqdn_rotate_spec.rb
+++ b/spec/acceptance/fqdn_rotate_spec.rb
@@ -19,12 +19,12 @@ describe 'fqdn_rotate function', :unless => UNSUPPORTED_PLATFORMS.include?(fact(
end
end
after :each do
- shell("if [ -f #{facts_d}/fqdn.txt ] ; then rm #{facts_d}/fqdn.txt ; fi")
+ shell("if [ -f '#{facts_d}/fqdn.txt' ] ; then rm '#{facts_d}/fqdn.txt' ; fi")
end
before :all do
#No need to create on windows, PE creates by default
if fact('osfamily') !~ /windows/i
- shell("mkdir -p #{facts_d}")
+ shell("mkdir -p '#{facts_d}'")
end
end
it 'fqdn_rotates floats' do