Skip to content

Commit 8acd5fd

Browse files
committed
phrasing
1 parent ebb5c10 commit 8acd5fd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Console/PresenterMakeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class PresenterMakeCommand extends GeneratorCommand
88
{
99
public $name = 'presenter:make';
1010

11-
public $description = 'create a new presenter';
11+
public $description = 'create a new presenter class';
1212

1313
/**
1414
* The type of class being generated.

tests/PresentersTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
use Coderflex\LaravelPresenter\Tests\Models\Post;
44
use Coderflex\LaravelPresenter\Tests\Models\User;
55

6-
it('cannot create new presenter', function () {
6+
it('cannot create new presenter without a name argument', function () {
77
$this->artisan('presenter:make ')
88
->assertExitCode(1);
99
})->throws(
1010
Symfony\Component\Console\Exception\RuntimeException::class,
1111
'Not enough arguments (missing: "name").'
1212
)->group('Presenter Command');
1313

14-
it('can create new presenter', function () {
14+
it('can create new presenter class', function () {
1515
$this->artisan('presenter:make UserPresenter')
1616
->assertExitCode(0);
1717
})->group('Presenter Command');

0 commit comments

Comments
 (0)