From 8bc5d3a3eb9f257e4080a920507e4f6443f94cb7 Mon Sep 17 00:00:00 2001 From: Joenio Costa Date: Fri, 19 Sep 2008 19:08:25 -0300 Subject: [PATCH] ActionItem709: opps! syntax error on profile_editor_controller --- test/functional/profile_editor_controller_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/functional/profile_editor_controller_test.rb b/test/functional/profile_editor_controller_test.rb index 7c026d2..0823eeb 100644 --- a/test/functional/profile_editor_controller_test.rb +++ b/test/functional/profile_editor_controller_test.rb @@ -507,11 +507,12 @@ class ProfileEditorControllerTest < Test::Unit::TestCase person = User.create(:login => 'test_profile', :email => 'test@noosfero.org', :password => 'test', :password_confirmation => 'test').person get :edit, :profile => person.identifier assert_no_tag :tag => 'div', :descendant => { :tag => 'h2', :content => 'Select the categories of your interest' } + end should 'show a e-mail field in profile editor' do create_user('test_user', :email=>'teste_user@teste.com') login_as('test_user') - get :profile_editor, :action => 'edit', :profile => 'test_user' + get :edit, :profile => 'test_user' assert_tag :tag => 'input', :attributes => { :name=>'profile_data[email]', :value=>'teste_user@teste.com' } -- libgit2 0.21.2