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 2009/11/08 07:03:42 UTC

svn commit: r833835 - /buildr/trunk/spec/scala/bdd_spec.rb

Author: boisvert
Date: Sun Nov  8 06:03:42 2009
New Revision: 833835

URL: http://svn.apache.org/viewvc?rev=833835&view=rev
Log:
Fix Scala Specs tests after upgrade to Specs 1.6.1

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=833835&r1=833834&r2=833835&view=diff
==============================================================================
--- buildr/trunk/spec/scala/bdd_spec.rb (original)
+++ buildr/trunk/spec/scala/bdd_spec.rb Sun Nov  8 06:03:42 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 objects 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
@@ -114,6 +114,6 @@
     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