From c19a7b4666a63bce19120885aa8b734218d253e1 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Wed, 19 Mar 2014 22:05:19 +0000 Subject: [PATCH] content-viewer: remove obsolete test --- test/functional/content_viewer_controller_test.rb | 10 ---------- 1 file changed, 0 insertions(+), 10 deletions(-) diff --git a/test/functional/content_viewer_controller_test.rb b/test/functional/content_viewer_controller_test.rb index d2eb03b..5306fa3 100644 --- a/test/functional/content_viewer_controller_test.rb +++ b/test/functional/content_viewer_controller_test.rb @@ -712,16 +712,6 @@ class ContentViewerControllerTest < ActionController::TestCase assert_tag :tag => 'li', :attributes => {:title => 'my img title', :class => 'image-gallery-item'}, :child => {:tag => 'span', :content => 'my img title'} end - should 'not allow html on title of the images' do - login_as(profile.identifier) - folder = fast_create(Gallery, :profile_id => profile.id) - file = UploadedFile.create!(:title => 'my img title', :profile => profile, :parent => folder, :uploaded_data => fixture_file_upload('/files/rails.png', 'image/png')) - - get :view_page, :profile => profile.identifier, :page => folder.explode_path - - assert_tag :tag => 'li', :attributes => {:title => 'my img title', :class => 'image-gallery-item'}, :child => {:tag => 'span', :content => 'my img title'} - end - should 'allow publisher owner view private articles' do c = Community.create!(:name => 'test_com') u = create_user_with_permission('test_user', 'publish_content', c) -- libgit2 0.21.2