Moved all old code for Laravel 5.

This commit is contained in:
James Cole
2015-02-06 04:27:37 +01:00
parent a4b3bf3ef4
commit d16015d625
439 changed files with 19 additions and 33123 deletions

View File

@@ -1,39 +0,0 @@
<?php
/**
* Class SearchControllerCest
*/
class SearchControllerCest
{
/**
* @param FunctionalTester $I
*/
public function _after(FunctionalTester $I)
{
}
/**
* @param FunctionalTester $I
*/
public function _before(FunctionalTester $I)
{
$I->amLoggedAs(['email' => 'thegrumpydictator@gmail.com', 'password' => 'james']);
}
public function index(FunctionalTester $I)
{
$I->wantTo('search for "salary"');
$I->amOnPage('/search?q=salary');
$I->see('Transactions');
$I->see('Results for "salary"');
}
public function indexNoQuery(FunctionalTester $I)
{
$I->wantTo('Search for empty string');
$I->amOnPage('/search?q=');
$I->see('Search for &quot;&quot;');
}
}