Permalink
Browse files

maint: fix spurious test failures on 1.8.5

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

0 comments on commit 40e8db8

Please sign in to comment.