Commit 8d83bad900c4995d0d15a1c584c4d946f7837bc8
1 parent
e2a437f7
Exists in
master
and in
28 other branches
ActionItem1018: removing test for dropped feature
Showing
1 changed file
with
0 additions
and
6 deletions
Show diff stats
test/functional/admin_panel_controller_test.rb
@@ -93,12 +93,6 @@ class AdminPanelControllerTest < Test::Unit::TestCase | @@ -93,12 +93,6 @@ class AdminPanelControllerTest < Test::Unit::TestCase | ||
93 | assert_equal "This enterprise is disabled", Environment.default.message_for_disabled_enterprise | 93 | assert_equal "This enterprise is disabled", Environment.default.message_for_disabled_enterprise |
94 | end | 94 | end |
95 | 95 | ||
96 | - should 'sanitize description with white_list' do | ||
97 | - post :site_info, :environment => { :description => "This <strong>is</strong> <script>alert('alow')</script>my new environment" } | ||
98 | - assert_redirected_to :action => 'index' | ||
99 | - assert_equal "This <strong>is</strong> my new environment", Environment.default.description | ||
100 | - end | ||
101 | - | ||
102 | should 'sanitize message for disabled enterprise with white_list' do | 96 | should 'sanitize message for disabled enterprise with white_list' do |
103 | post :site_info, :environment => { :message_for_disabled_enterprise => "This <strong>is</strong> <script>alert('alow')</script>my new environment" } | 97 | post :site_info, :environment => { :message_for_disabled_enterprise => "This <strong>is</strong> <script>alert('alow')</script>my new environment" } |
104 | assert_redirected_to :action => 'index' | 98 | assert_redirected_to :action => 'index' |