noosfero | [PgSearchPlugin] Improvements on Category facets (!1371)
Rodrigo Souto
gitlab at mg.gitlab.com
Wed Jan 17 15:47:18 BRST 2018
Rodrigo Souto started a new discussion on plugins/pg_search/test/unit/category_test.rb:
> + should 'return facets for articles' do
> + profile = fast_create(Profile)
> + region = fast_create(Region)
> + category = fast_create(Category)
> + region2 = fast_create(Region)
> +
> + profile.add_category(region)
> + profile.add_category(category)
> +
> + assert_equivalent [region],
> + Region.pg_search_plugin_profiles_facets(Profile.all)
> + assert_equivalent [category],
> + Category.pg_search_plugin_profiles_facets(Profile.all)
> + end
> +
> + should 'return facets for profiles' do
Small typo here: `s/profiles/articles/`
---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1371#note_54977921
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20180117/0d6d860f/attachment.html>
More information about the Noosfero-dev
mailing list