spec/Cerbero/Workflow/Repositories/YamlPipelineRepositorySpec.php
public function it_destroys_a_pipeline($parser, $files)
    {
        $parser->dump([])->willReturn('foo');

        $files->put('path/to/workflows/workflows.yml', 'foo')->shouldBeCalled();

        $this->destroy('RegisterUser');
    }
public function it_destroys_a_pipeline($parser, $files)
    {
        $parser->dump([])->willReturn('foo');

        $files->put('path/to/workflows/workflows.yml', 'foo')->shouldBeCalled();

        $this->destroy('RegisterUser');
    }
@testdox    It destroys a pipeline.

@author    Andrea Marco Sartori
@return    void