1
0
Fork 0
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:
Timm 2013-09-09 18:45:13 +02:00
parent 229092ffee
commit 170f414928
3 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,4 @@
require 'abstract_unit'
require 'action_view/vendor/html-scanner'
require 'controller/fake_controllers'
class ActionPackAssertionsController < ActionController::Base

View file

@ -1,6 +1,5 @@
require 'abstract_unit'
require 'controller/fake_controllers'
require 'action_view/vendor/html-scanner'
class SessionTest < ActiveSupport::TestCase
StubApp = lambda { |env|

View file

@ -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