buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djspie...@apache.org
Subject svn commit: r785669 - /buildr/trunk/spec/scala/bdd_spec.rb
Date Wed, 17 Jun 2009 15:27:44 GMT
Author: djspiewak
Date: Wed Jun 17 15:27:44 2009
New Revision: 785669

URL: http://svn.apache.org/viewvc?rev=785669&view=rev
Log:
Specs now reflect that we're detecting objects not classes

Modified:
    buildr/trunk/spec/scala/bdd_spec.rb

Modified: buildr/trunk/spec/scala/bdd_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/scala/bdd_spec.rb?rev=785669&r1=785668&r2=785669&view=diff
==============================================================================
--- buildr/trunk/spec/scala/bdd_spec.rb (original)
+++ buildr/trunk/spec/scala/bdd_spec.rb Wed Jun 17 15:27:44 2009
@@ -65,7 +65,7 @@
       }
     SCALA
     define('foo').test.invoke
-    project('foo').test.tests.should include('com.example.MySpecs')
+    project('foo').test.tests.should include('com.example.MySpecs$')
   end
 
   it 'should include public classes extending org.specs.Specification even with companion
classes' do
@@ -82,7 +82,7 @@
       class MySpecs extends org.specs.runner.JUnit4(MySpecs)
     SCALA
     define('foo').test.invoke
-    project('foo').test.tests.should include('com.example.MySpecs')
+    project('foo').test.tests.should include('com.example.MySpecs$')
   end
 
   it 'should pass when spec passes' do
@@ -125,7 +125,7 @@
       }
     SCALA
     define('foo').test.invoke rescue
-    project('foo').test.failed_tests.should include('FailingSpecs')
+    project('foo').test.failed_tests.should include('FailingSpecs$')
   end
   
   it 'should compile and run specifications with "Specs" suffix' do
@@ -143,7 +143,7 @@
     SCALA
     define('foo')
     project('foo').test.invoke
-    project('foo').test.passed_tests.should include('HelloWorldSpecs')
+    project('foo').test.passed_tests.should include('HelloWorldSpecs$')
   end
 
 
@@ -162,7 +162,7 @@
     SCALA
     define('foo')
     project('foo').test.invoke rescue
-    project('foo').test.failed_tests.should include('StringSpecs')
+    project('foo').test.failed_tests.should include('StringSpecs$')
   end
 
 end



Mime
View raw message