spec/spec_helper.rb in aviglitch-0.2.0 vs spec/spec_helper.rb in aviglitch-0.2.2
- old
+ new
@@ -48,8 +48,12 @@
end
end
end
config.after(:each) do
- FileUtils.rm Dir.glob((OUTPUT_DIR + '*').to_s)
+ begin
+ FileUtils.rm_r Dir.glob((OUTPUT_DIR + '*').to_s)
+ rescue => e
+ # Sometimes windows can't remove files.
+ end
end
end