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
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.
Original file line number Diff line number Diff line change 33use Coderflex \LaravelPresenter \Tests \Models \Post ;
44use 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 ' );
You can’t perform that action at this time.
0 commit comments