Tests/Controller/DefaultControllerTest.php
author ymh <ymh.work@gmail.com>
Wed, 19 Oct 2011 14:33:40 +0200
changeset 6 2dcfef6e75c3
parent 1 06a22ff5d58d
permissions -rw-r--r--
add command to sync documents

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