Tests/Controller/DefaultControllerTest.php
author ymh <ymh.work@gmail.com>
Tue, 18 Oct 2011 10:32:30 +0200
changeset 5 45378793512a
parent 1 06a22ff5d58d
permissions -rw-r--r--
Correct tag insert + external id on doc

<?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);
    }
}