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