You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by to...@apache.org on 2010/06/09 08:36:16 UTC

svn commit: r952911 - /buildr/trunk/spec/core/util_spec.rb

Author: toulmean
Date: Wed Jun  9 06:36:16 2010
New Revision: 952911

URL: http://svn.apache.org/viewvc?rev=952911&view=rev
Log:
fix failing spec by using Dir.rmdir to remove a folder rather than File.delete - that discrepancy was filed as a JRuby bug JRUBY-4859

Modified:
    buildr/trunk/spec/core/util_spec.rb

Modified: buildr/trunk/spec/core/util_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/core/util_spec.rb?rev=952911&r1=952910&r2=952911&view=diff
==============================================================================
--- buildr/trunk/spec/core/util_spec.rb (original)
+++ buildr/trunk/spec/core/util_spec.rb Wed Jun  9 06:36:16 2010
@@ -80,7 +80,7 @@ describe File do
 
         File.mtime('tmp').should > creation_time
       ensure
-        File.delete 'tmp'
+        Dir.rmdir 'tmp'
       end
     end