From 8e6fe0be5e1c26f7c71859938bdab59b9f4735db Mon Sep 17 00:00:00 2001 From: JoenioCosta Date: Fri, 16 May 2008 19:55:00 +0000 Subject: [PATCH] ActionItem355: oops: remove duplcated test --- test/functional/profile_editor_controller_test.rb | 7 ------- 1 file changed, 0 insertions(+), 7 deletions(-) diff --git a/test/functional/profile_editor_controller_test.rb b/test/functional/profile_editor_controller_test.rb index 1961149..0752a30 100644 --- a/test/functional/profile_editor_controller_test.rb +++ b/test/functional/profile_editor_controller_test.rb @@ -207,13 +207,6 @@ class ProfileEditorControllerTest < Test::Unit::TestCase assert_equal false, Profile['ze'].public_profile end - should 'display profile publication option in edit profile screen' do - profile = Profile['ze'] - get :edit, :profile => 'ze' - assert_tag :tag => 'input', :attributes => { :type => 'checkbox', :checked => 'checked', :name => 'profile_data[public_profile]', :value => 'true' } - assert_tag :tag => 'input', :attributes => { :type => 'hidden', :name => 'profile_data[public_profile]', :value => false } - end - should 'save profile publication option set to true' do post :edit, :profile => 'ze', :profile_data => { :public_profile => 'true' } assert_equal true, Profile['ze'].public_profile -- libgit2 0.21.2