--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Tests/Controller/DefaultControllerTest.php Wed Oct 05 23:51:31 2011 +0200
@@ -0,0 +1,17 @@
+<?php
+
+namespace IRI\Bundle\WikiTagBundle\Tests\Controller;
+
+use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
+
+class DefaultControllerTest extends WebTestCase
+{
+ public function testIndex()
+ {
+ $client = static::createClient();
+
+ $crawler = $client->request('GET', '/hello/Fabien');
+
+ $this->assertTrue($crawler->filter('html:contains("Hello Fabien")')->count() > 0);
+ }
+}