svn commit: r756373 - /camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/WiretapTest.scala

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r756373 - /camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/WiretapTest.scala

gertv-2
Author: gertv
Date: Fri Mar 20 08:45:05 2009
New Revision: 756373

URL: http://svn.apache.org/viewvc?rev=756373&view=rev
Log:
CAMEL-463: Fixing Wiretap test -- don't expect the tapped messages to arrive in order

Modified:
    camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/WiretapTest.scala

Modified: camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/WiretapTest.scala
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/WiretapTest.scala?rev=756373&r1=756372&r2=756373&view=diff
==============================================================================
--- camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/WiretapTest.scala (original)
+++ camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/WiretapTest.scala Fri Mar 20 08:45:05 2009
@@ -30,7 +30,7 @@
   
   def doTestWiretap(from: String, to: String) = {
     to expect { _.received("Calling Elvis", "Calling Paul")}
-    "mock:tap" expect { _.received("Elvis is alive!", "Stop singing, you're not Elvis")}
+    mock("mock:tap").expectedBodiesReceivedInAnyOrder("Elvis is alive!", "Stop singing, you're not Elvis")
     test {
       from ! (Adult("Elvis"), Adult("Paul"))
     }