This looks perfect so far. I’m gonna play locally with some sample code instead of just relying on unit tests.

TDD is great and all BUT ITS SCARY AND I DONT TRUST IT.
-- 
Phil Sturgeon

On May 11, 2014 at 11:55:27 AM, Jason Lewis (notifications@github.com) wrote:

In tests/TransformerAbstractTest.php:

> @@ -102,7 +102,8 @@ public function testProcessEmbeddedResourcesInvalidAvailableEmbed()
>          $manager = new Manager;
>          $manager->parseIncludes('book');
>   
> -        $scope = new Scope($manager, m::mock('League\Fractal\Resource\ResourceInterface'));
> +        $scope = new Scope($manager, m::mock('League\Fractal\Resource\ResourceAbstract'));
> +        $transformer->setManager($manager);
Good pick up, flying under the radar since it's throwing a BadMethodCallException as well. Bloody thing.

—
Reply to this email directly or view it on GitHub.