mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Removed require's for html-scanner.
This commit is contained in:
parent
229092ffee
commit
170f414928
3 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
|||
require 'abstract_unit'
|
||||
require 'action_view/vendor/html-scanner'
|
||||
require 'controller/fake_controllers'
|
||||
|
||||
class ActionPackAssertionsController < ActionController::Base
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
require 'abstract_unit'
|
||||
require 'controller/fake_controllers'
|
||||
require 'action_view/vendor/html-scanner'
|
||||
|
||||
class SessionTest < ActiveSupport::TestCase
|
||||
StubApp = lambda { |env|
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
require 'active_support/deprecation'
|
||||
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/html-scanner"
|
||||
|
||||
ActiveSupport::Deprecation.warn("html-scanner has been deprecated in favor of using Loofah in SanitizeHelper and ActionView::Assertions.")
|
||||
|
||||
module HTML
|
||||
extend ActiveSupport::Autoload
|
||||
|
||||
|
|
Loading…
Reference in a new issue