diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-07-17 16:45:59 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-10-23 12:50:31 -0400 |
commit | 7de7f12fd140a60134defe7dc55b5a20b2372d06 (patch) | |
tree | 7f782e80f5627619455c884e7297077dd03d7a5f /actionview/test/template | |
parent | 40cadf52db5e21349f6ecd9c4dc9b89d42ebc986 (diff) | |
download | rails-7de7f12fd140a60134defe7dc55b5a20b2372d06.tar.gz rails-7de7f12fd140a60134defe7dc55b5a20b2372d06.tar.bz2 rails-7de7f12fd140a60134defe7dc55b5a20b2372d06.zip |
Remove deprecated Erubis ERB handler
Diffstat (limited to 'actionview/test/template')
-rw-r--r-- | actionview/test/template/erb/deprecated_erubis_implementation_test.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/actionview/test/template/erb/deprecated_erubis_implementation_test.rb b/actionview/test/template/erb/deprecated_erubis_implementation_test.rb deleted file mode 100644 index ea088e7cfc..0000000000 --- a/actionview/test/template/erb/deprecated_erubis_implementation_test.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -require "abstract_unit" - -module ERBTest - class DeprecatedErubisImplementationTest < ActionView::TestCase - test "Erubis implementation is deprecated" do - assert_deprecated "ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead." do - assert_equal "ActionView::Template::Handlers::ERB::Erubis", ActionView::Template::Handlers::Erubis.to_s - - assert_nothing_raised { Class.new(ActionView::Template::Handlers::Erubis) } - end - end - end -end |