KnpLabs/KnpBundles — pull request #208 by l3l0 (2012-07-14 07:55:50+00:00)
Title: Fixed behat features, behat-ci script and api context

Basically there was few issues:

* 'Zend\Cache\Manager' not found in /home/vagrant/builds/KnpLabs/KnpBundles/app/cache/test/appTestDebugProjectContainer.php in http://travis-ci.org/#!/KnpLabs/KnpBundles/jobs/1844871 - **fixed by change zend cache and filter autoload path in composer.json**

* bin/behat-ci.sh script always exit with value 0. So travis always think that features passed even if don't - **I added code into behat-ci.sh which return 1 in case when some of behat command exited with error**

* Setting apache/http server to test such API should not be needed IMO. Such web api contexts can be used to test external APIs (at some external/other domains etc). We do not need it to test such simple internal API stuff. I think that this PR simplified some things in API context.

Test passed: [![Build Status](https://secure.travis-ci.org/l3l0/KnpBundles.png?branch=fix-behat-at-travis)](http://travis-ci.org/l3l0/KnpBundles)