I'm using PhpSpec to test application Laravel framework. How can I test Api Restful on file Route and post data like when using PHPUnit.
Example :
$res = $this->call('POST', '/articles', [
'alias' => 'This is invalid alias',
'order' => 'invalid',
],[],[], []);