unepwcmc/SAPI — pull request #219 by simaob (2014-02-19 08:56:50+00:00)
Title: Fixing issues with copying quotas

This PR:

- Fixes bug with method count_matching of the quotas model, which was not handling the params correctly to pass into the query;
- Fixes the copy quotas worker perform method which was also not handling the params correctly as they came from the controller (geo entities and taxon concepts differ because the taxon concepts uses the autocomplete and the geo entities doesn't, although both use select2...);
- Fixes the specs to properly test the worker;