Skip to content

Commit

Permalink
Fixed PageControllerTest
Browse files Browse the repository at this point in the history
  • Loading branch information
toretto460 committed Jun 1, 2013
1 parent 1c55b19 commit 8cb7841
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/PUGX/BadgeBundle/Tests/Controller/PageControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ public function testHomeAction()
$this->assertTrue($client->getResponse()->isSuccessful());
$this->assertEquals(1, $crawler->filter('#container h1:contains("Badge Poser")')->count());
$this->assertEquals(1, $crawler->filter('#container p:contains("Pimp your README!")')->count());
$this->assertEquals(1, $crawler->filter('#container p:contains("Total downloads")')->count());
$this->assertEquals(1, $crawler->filter('#container p:contains("Daily downloads")')->count());
$this->assertEquals(1, $crawler->filter('#container p:contains("Monthly downloads")')->count());
$this->assertEquals(1, $crawler->filter('#container p:contains("Latest Stable Version")')->count());
$this->assertEquals(1, $crawler->filter('#container p:contains("Latest Unstable Version")')->count());
$this->assertEquals(1, $crawler->filter('#container h4:contains("Total downloads")')->count());
$this->assertEquals(1, $crawler->filter('#container h4:contains("Daily downloads")')->count());
$this->assertEquals(1, $crawler->filter('#container h4:contains("Monthly downloads")')->count());
$this->assertEquals(1, $crawler->filter('#container h4:contains("Latest Stable Version")')->count());
$this->assertEquals(1, $crawler->filter('#container h4:contains("Latest Unstable Version")')->count());
}
}

0 comments on commit 8cb7841

Please sign in to comment.