| title | Pest Laravel Expectations |
|---|---|
| menuTitle | Introduction |
| description | Laravel tailored @pestphp 11.expectations for web artisans |
[replace:badges]
Easily add Laravel specific expectations to your Pest testing ecosystem
it('can check model exists', function(){
$user = User::factory()->create();
expect($user)->toExist();
});test('user can edit a post', function(){
$user = User::factory()->create();
expect($user)->toBeAbleTo('edit', $post);
});test('home is rendered', function () {
$response = get('/home');
expect($response)->toBeSuccessful();
});[replace:full-source-code]
[replace:powered-by]
