File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class PresenterMakeCommand extends GeneratorCommand
8
8
{
9
9
public $ name = 'presenter:make ' ;
10
10
11
- public $ description = 'create a new presenter ' ;
11
+ public $ description = 'create a new presenter class ' ;
12
12
13
13
/**
14
14
* The type of class being generated.
Original file line number Diff line number Diff line change 3
3
use Coderflex \LaravelPresenter \Tests \Models \Post ;
4
4
use Coderflex \LaravelPresenter \Tests \Models \User ;
5
5
6
- it ('cannot create new presenter ' , function () {
6
+ it ('cannot create new presenter without a name argument ' , function () {
7
7
$ this ->artisan ('presenter:make ' )
8
8
->assertExitCode (1 );
9
9
})->throws (
10
10
Symfony \Component \Console \Exception \RuntimeException::class,
11
11
'Not enough arguments (missing: "name"). '
12
12
)->group ('Presenter Command ' );
13
13
14
- it ('can create new presenter ' , function () {
14
+ it ('can create new presenter class ' , function () {
15
15
$ this ->artisan ('presenter:make UserPresenter ' )
16
16
->assertExitCode (0 );
17
17
})->group ('Presenter Command ' );
You can’t perform that action at this time.
0 commit comments