コード例 #1
0
<?php

$I = new FunctionalTester($scenario);
$I->am('a Larabook member');
$I->wantTo('I want to view my profile.');
$I->signIn();
$I->postAStatus('My new status.');
$I->click('Your Profile');
$I->seeCurrentUrlEquals('/@Foobar');
$I->see('My new status.');
コード例 #2
0
<?php

$I = new FunctionalTester($scenario);
$I->am('a Larabook member');
$I->wantTo('post statuses to my profile');
$I->signIn();
$I->amOnPage('statuses');
$I->postAStatus('My first post.');
$I->seeCurrentUrlEquals('/statuses');
$I->see('My first post');
コード例 #3
0
ファイル: ProfileCept.php プロジェクト: sabahtalateh/laracast
<?php

$I = new FunctionalTester($scenario);
$I->am('a Larabook member');
$I->wantTo('View my profile');
$I->signIn();
$I->postAStatus('My new Status');
$I->click('Profile');
$I->seeCurrentUrlEquals('/@Foobar');
$I->see('My new Status');
コード例 #4
0
<?php

$I = new FunctionalTester($scenario);
$I->am('a Larabook Member');
$I->wantTo('Post Statuses to My Profile');
$I->signIn();
$I->amOnPage('/statuses');
$I->postAStatus('My First Post');
$I->seeInCurrentUrl('/statuses');
$I->see('My First Post');
コード例 #5
0
ファイル: PostStatusCept.php プロジェクト: itsSkyler/larabook
<?php

$I = new FunctionalTester($scenario);
$I->am('Larabook member');
$I->wantTo('post statuses to my profile.');
$I->signIn();
$I->amOnPage('statuses');
$I->postAStatus('my first post');
$I->seeCurrentUrlEquals('/statuses');
$I->see('my first post');
コード例 #6
0
ファイル: ProfileCept.php プロジェクト: emukiri/larabook
<?php
    $I = new FunctionalTester($scenario);
    $I->am("A larabook member");
    $I->wantTo('I want to view my profile');
    $I->signIn();
    $I->postAStatus('My New status');
    $I->click('My Profile');
    $I->seeCurrentUrlEquals('/@Foobar');
    $I->see('My New status');