2016-07-15 00:20:28 +08:00
|
|
|
<?php
|
2016-07-16 09:13:51 +08:00
|
|
|
use yii\helpers\Url as Url;
|
2016-07-15 00:20:28 +08:00
|
|
|
|
|
|
|
class AboutCest
|
|
|
|
{
|
|
|
|
public function ensureThatAboutWorks(AcceptanceTester $I)
|
|
|
|
{
|
2016-07-16 09:13:51 +08:00
|
|
|
$I->amOnPage(Url::toRoute('/site/about'));
|
2016-07-15 00:20:28 +08:00
|
|
|
$I->see('About', 'h1');
|
|
|
|
}
|
|
|
|
}
|