buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toulm...@apache.org
Subject svn commit: r952911 - /buildr/trunk/spec/core/util_spec.rb
Date Wed, 09 Jun 2010 06:36:16 GMT
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
 



Mime
View raw message