Commit ad8b6b50e648537ff5264429223542c3cab01176

Authored by JoenioCosta
1 parent b761ce0c

ActionItem379: oops: fix profile_editor functional test


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1818 3f533792-8f58-4932-b0fe-aaf55b0a4547
test/functional/profile_editor_controller_test.rb
... ... @@ -74,8 +74,8 @@ class ProfileEditorControllerTest < Test::Unit::TestCase
74 74 person = create_user('test_user').person
75 75 get :edit, :profile => 'test_user'
76 76 assert_response :success
77   - assert_template 'edit_categories'
78   - assert_tag :tag => 'input', :attributes => {:name => 'profile_object[category_ids][]'}
  77 + assert_template 'edit'
  78 + assert_tag :tag => 'input', :attributes => {:name => 'profile_data[category_ids][]'}
79 79 end
80 80  
81 81 should 'save categorization of profile' do
... ...