Skip to content

Commit

Permalink
Merge pull request redhat-openstack#292 from hunner/fix_rm
Browse files Browse the repository at this point in the history
Need quotes for spaces in path
  • Loading branch information
hunner committed Jun 26, 2014
2 parents a3de985 + 1b893ff commit 42750fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/acceptance/fqdn_rotate_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
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
Expand Down

0 comments on commit 42750fe

Please sign in to comment.