Commit 8e6fe0be5e1c26f7c71859938bdab59b9f4735db

Authored by JoenioCosta
1 parent 6070f49c

ActionItem355: oops: remove duplcated test


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1812 3f533792-8f58-4932-b0fe-aaf55b0a4547
test/functional/profile_editor_controller_test.rb
... ... @@ -207,13 +207,6 @@ class ProfileEditorControllerTest < Test::Unit::TestCase
207 207 assert_equal false, Profile['ze'].public_profile
208 208 end
209 209  
210   - should 'display profile publication option in edit profile screen' do
211   - profile = Profile['ze']
212   - get :edit, :profile => 'ze'
213   - assert_tag :tag => 'input', :attributes => { :type => 'checkbox', :checked => 'checked', :name => 'profile_data[public_profile]', :value => 'true' }
214   - assert_tag :tag => 'input', :attributes => { :type => 'hidden', :name => 'profile_data[public_profile]', :value => false }
215   - end
216   -
217 210 should 'save profile publication option set to true' do
218 211 post :edit, :profile => 'ze', :profile_data => { :public_profile => 'true' }
219 212 assert_equal true, Profile['ze'].public_profile
... ...