From 3da92cdd842ad6cb37ee62c207d4c1fcea03e8d6 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 15 May 2009 18:39:41 -0700 Subject: [PATCH] Test that the build directory was deleted. --- t/FilePump/Bundle.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/FilePump/Bundle.t b/t/FilePump/Bundle.t index fa6bcfaf1..2e7536ec8 100644 --- a/t/FilePump/Bundle.t +++ b/t/FilePump/Bundle.t @@ -33,7 +33,7 @@ my $session = WebGUI::Test->session; #---------------------------------------------------------------------------- # Tests -my $tests = 45; # Increment this number for each test you create +my $tests = 46; # Increment this number for each test you create plan tests => 1 + $tests; # 1 for the use_ok #---------------------------------------------------------------------------- @@ -354,6 +354,7 @@ ok(-e $cssFile->stringify && -f _ && -s _, '... minified CSS file built, not emp ################################################################### $bundle->delete; +ok(!-e $buildDir->stringify && !-d _, 'delete deletes the current build directory deleted'); }