@@ -46,7 +46,7 @@ public function it_returns_controllers(): void
46
46
'PostController ' => [
47
47
'index ' => [
48
48
'query ' => 'all:posts ' ,
49
- 'render ' => 'post.index with posts ' ,
49
+ 'render ' => 'post.index with: posts ' ,
50
50
],
51
51
'show ' => [
52
52
'find ' => 'id ' ,
@@ -63,7 +63,7 @@ public function it_returns_controllers(): void
63
63
$ this ->statementLexer ->shouldReceive ('analyze ' )
64
64
->with ([
65
65
'query ' => 'all:posts ' ,
66
- 'render ' => 'post.index with posts ' ,
66
+ 'render ' => 'post.index with: posts ' ,
67
67
])
68
68
->andReturn (['index-statement-1 ' , 'index-statement-2 ' ]);
69
69
@@ -120,7 +120,7 @@ public function it_returns_a_web_resource_controller(): void
120
120
$ this ->statementLexer ->shouldReceive ('analyze ' )
121
121
->with ([
122
122
'query ' => 'all:comments ' ,
123
- 'render ' => 'comment.index with comments ' ,
123
+ 'render ' => 'comment.index with: comments ' ,
124
124
])
125
125
->andReturn (['index-statements ' ]);
126
126
@@ -265,7 +265,7 @@ public function it_returns_a_specific_resource_controller(): void
265
265
$ this ->statementLexer ->expects ('analyze ' )
266
266
->with ([
267
267
'query ' => 'all:users ' ,
268
- 'render ' => 'user.index with users ' ,
268
+ 'render ' => 'user.index with: users ' ,
269
269
])
270
270
->andReturn (['index-statements ' ]);
271
271
0 commit comments