예제 #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
<?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
<?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
<?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');