[Git][noosfero/noosfero][master] pg-search: fix typo on tests

Rodrigo Souto gitlab at mg.gitlab.com
Wed Jan 17 15:52:07 BRST 2018


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
eb65c30f by Rodrigo Souto at 2018-01-17T14:51:50-03:00
pg-search: fix typo on tests

- - - - -


1 changed file:

- plugins/pg_search/test/unit/category_test.rb


Changes:

=====================================
plugins/pg_search/test/unit/category_test.rb
=====================================
--- a/plugins/pg_search/test/unit/category_test.rb
+++ b/plugins/pg_search/test/unit/category_test.rb
@@ -2,7 +2,7 @@ require_relative '../../../../test/test_helper'
 
 class CategoryTest < ActiveSupport::TestCase
 
-  should 'return facets for articles' do
+  should 'return facets for profiles' do
     profile = fast_create(Profile)
     region = fast_create(Region)
     category = fast_create(Category)
@@ -17,7 +17,7 @@ class CategoryTest < ActiveSupport::TestCase
                       Category.pg_search_plugin_profiles_facets(Profile.all)
   end
 
-  should 'return facets for profiles' do
+  should 'return facets for articles' do
     article = fast_create(Article)
     region = fast_create(Region)
     category = fast_create(Category)
@@ -32,7 +32,7 @@ class CategoryTest < ActiveSupport::TestCase
                       Category.pg_search_plugin_articles_facets(Article.all)
   end
 
-  should 'include virtual categories when geenerating facets' do
+  should 'include virtual categories when generating facets' do
     article = fast_create(Article)
     parent = fast_create(Category)
     category = fast_create(Category, parent_id: parent.id)



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/eb65c30fe5bd312ec7b3d15e30e59b501e9306b1

---
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/eb65c30fe5bd312ec7b3d15e30e59b501e9306b1
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/6a0c904a/attachment-0001.html>


More information about the Noosfero-dev mailing list