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/09/18 02:48:10 UTC

svn commit: r998379 - /buildr/trunk/spec/packaging/archive_spec.rb

Author: toulmean
Date: Sat Sep 18 00:48:10 2010
New Revision: 998379

URL: http://svn.apache.org/viewvc?rev=998379&view=rev
Log:
directory entries don't exist on linux, so this spec fails: we now check that there is no file entry instead

Modified:
    buildr/trunk/spec/packaging/archive_spec.rb

Modified: buildr/trunk/spec/packaging/archive_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/packaging/archive_spec.rb?rev=998379&r1=998378&r2=998379&view=diff
==============================================================================
--- buildr/trunk/spec/packaging/archive_spec.rb (original)
+++ buildr/trunk/spec/packaging/archive_spec.rb Sat Sep 18 00:48:10 2010
@@ -209,7 +209,7 @@ describe 'ArchiveTask', :shared=>true do
   it 'should archive directories into specified alias, even if it has the same name' do
     archive(@archive).include(@dir, :as=>File.basename(@dir)).invoke
     inspect_archive { |archive| 
-      archive.keys.should include "#{File.basename(@dir)}/"
+      archive.keys.should_not include "#{File.basename(@dir)}"
     }
   end