Sylius/SyliusResourceBundle — pull request #7 by umpirsky (2012-12-05 15:31:20+00:00)
Title: Added some specs for doctrine repos, generate human readable alias.

Specs are added for `DocumentRepository` and `EntityRepository`. Only strange thing is that `EntityRepository::findAll()` and `EntityRepository::findBy()` return null. I expected to return empty collection. Didn't figure out why.

`EntityRepository::getAlias()` now returns more readable alias, example, for entity `spec\Sylius\Bundle\ResourceBundle\Fixture\Entity\FooBar` it will return alias `fooBar`, which is more readable then `o`.