From 8f13485f54110b546c455b9171aa5608aa8f6b43 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Thu, 15 Mar 2012 16:40:06 -0400 Subject: [PATCH] make sure task cleans up --- lib/flowerbox/task.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/flowerbox/task.rb b/lib/flowerbox/task.rb index 69ebbad..ddf4ba0 100644 --- a/lib/flowerbox/task.rb +++ b/lib/flowerbox/task.rb @@ -19,6 +19,7 @@ module Flowerbox desc "Run Flowerbox for the tests in #{options[:dir]}" task(name) do raise StandardError.new("Flowerbox tests failed") if Flowerbox.run(@options[:dir], @options) != 0 + Flowerbox.cleanup! end end end