From 72188e4ad138e5962fada50cbdfc8466b1d8a39e Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Tue, 20 Aug 2013 20:10:23 -0300 Subject: [PATCH] [postgres-tests] Fixing noosfero steps --- features/step_definitions/noosfero_steps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/step_definitions/noosfero_steps.rb b/features/step_definitions/noosfero_steps.rb index 5192826..8e62fe4 100644 --- a/features/step_definitions/noosfero_steps.rb +++ b/features/step_definitions/noosfero_steps.rb @@ -44,7 +44,7 @@ Given /^the following (community|communities|enterprises?|organizations?)$/ do | end if category && !category.blank? cat = Category.find_by_slug category - organization.categories << cat + ProfileCategorization.add_category_to_profile(cat, organization) end if img_name img = Image.create!(:uploaded_data => fixture_file_upload('/files/'+img_name+'.png', 'image/png')) -- libgit2 0.21.2