Author: lacton
Date: Thu Sep  4 13:38:15 2008
New Revision: 692230

URL: http://svn.apache.org/viewvc?rev=692230&view=rev
Log:
Relaxed some tests that were relying on a specific project test order

Modified:
    incubator/buildr/trunk/spec/test_spec.rb

Modified: incubator/buildr/trunk/spec/test_spec.rb
URL: 
http://svn.apache.org/viewvc/incubator/buildr/trunk/spec/test_spec.rb?rev=692230&r1=692229&r2=692230&view=diff
==============================================================================
--- incubator/buildr/trunk/spec/test_spec.rb (original)
+++ incubator/buildr/trunk/spec/test_spec.rb Thu Sep  4 13:38:15 2008
@@ -939,13 +939,13 @@
   it 'should run setup task before any project integration tests' do
     define('foo') { test.using :integration }
     define('bar') { test.using :integration }
-    lambda { task('integration').invoke }.should run_tasks([integration.setup, 
'bar:test', 'foo:test'])
+    lambda { task('integration').invoke }.should run_tasks([integration.setup, 
'bar:test'], [integration.setup, 'foo:test'])
   end
 
   it 'should run teardown task after all project integrations tests' do
     define('foo') { test.using :integration }
     define('bar') { test.using :integration }
-    lambda { task('integration').invoke }.should run_tasks(['bar:test', 
'foo:test', integration.teardown])
+    lambda { task('integration').invoke }.should run_tasks(['bar:test', 
integration.teardown], ['foo:test', integration.teardown])
   end
 
   it 'should run test cases marked for integration' do


Reply via email to