Exemplo n.º 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.');
Exemplo n.º 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');
Exemplo n.º 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');
Exemplo n.º 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');
Exemplo n.º 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');
Exemplo n.º 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');