PHP Class spec\Newscoop\Services\AttachmentServiceSpec

Inheritance: extends PhpSpec\ObjectBehavior
Show file Open project: sourcefabric/newscoop

Public Methods

Method Description
it_is_initializable ( )
it_should_generate_attachment_url ( )
it_should_remove_attachemnt ( )
it_should_return_path_for_attachment ( )
it_should_update_attachment ( )
it_should_upload_attachment ( )
let ( $die, EntityManager $em, Router $router, UserService $userService, AutoIdRepository $repository, User $user )

Method Details

it_is_initializable() public method

public it_is_initializable ( )

it_should_generate_attachment_url() public method

it_should_remove_attachemnt() public method

it_should_return_path_for_attachment() public method

it_should_update_attachment() public method

it_should_upload_attachment() public method

let() public method

public let ( $die, EntityManager $em, Router $router, UserService $userService, AutoIdRepository $repository, User $user )
$em Doctrine\ORM\EntityManager
$router Symfony\Component\Routing\Router
$userService Newscoop\Services\UserService
$repository Newscoop\Entity\Repository\AutoIdRepository
$user Newscoop\Entity\User