You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by bo...@apache.org on 2010/03/05 07:05:47 UTC
svn commit: r919306 - /buildr/trunk/spec/core/test_spec.rb
Author: boisvert
Date: Fri Mar 5 06:05:47 2010
New Revision: 919306
URL: http://svn.apache.org/viewvc?rev=919306&view=rev
Log:
Fix failing test case
Modified:
buildr/trunk/spec/core/test_spec.rb
Modified: buildr/trunk/spec/core/test_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/core/test_spec.rb?rev=919306&r1=919305&r2=919306&view=diff
==============================================================================
--- buildr/trunk/spec/core/test_spec.rb (original)
+++ buildr/trunk/spec/core/test_spec.rb Fri Mar 5 06:05:47 2010
@@ -612,7 +612,9 @@
end
it 'should create target directory even if no files to copy' do
- define('foo').test.resources.filter.into('resources')
+ define('foo') do
+ test.resources.filter.into('resources')
+ end
lambda { file(File.expand_path('resources')).invoke }.should change { File.exist?('resources') }.to(true)
end