Commit 8bc5d3a3eb9f257e4080a920507e4f6443f94cb7

Authored by Joenio Costa
1 parent e75f7078

ActionItem709: opps! syntax error on profile_editor_controller

test/functional/profile_editor_controller_test.rb
... ... @@ -507,11 +507,12 @@ class ProfileEditorControllerTest < Test::Unit::TestCase
507 507 person = User.create(:login => 'test_profile', :email => 'test@noosfero.org', :password => 'test', :password_confirmation => 'test').person
508 508 get :edit, :profile => person.identifier
509 509 assert_no_tag :tag => 'div', :descendant => { :tag => 'h2', :content => 'Select the categories of your interest' }
  510 + end
510 511  
511 512 should 'show a e-mail field in profile editor' do
512 513 create_user('test_user', :email=>'teste_user@teste.com')
513 514 login_as('test_user')
514   - get :profile_editor, :action => 'edit', :profile => 'test_user'
  515 + get :edit, :profile => 'test_user'
515 516  
516 517 assert_tag :tag => 'input',
517 518 :attributes => { :name=>'profile_data[email]', :value=>'teste_user@teste.com' }
... ...