Permalink
Browse files

maint: fix spurious test failures on 1.8.5

  • Loading branch information...
1 parent 916d788 commit 8179d0e43481590f9d8f087b340034f2623d1ca2 @ripienaar ripienaar committed Sep 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/unit/plugins/mcollective/packagers/debpackage_packager_spec.rb
View
2 spec/unit/plugins/mcollective/packagers/debpackage_packager_spec.rb
@@ -265,7 +265,7 @@ module PluginPackager
end
after :each do
- FileUtils.rm(@tmpfile)
+ FileUtils.rm(@tmpfile) if File.exist?(@tmpfile)
end
it "should create the correct tmp dirs and copy package contents to correct dir" do

0 comments on commit 8179d0e

Please sign in to comment.