Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Missed add: deprecated erb_variable test

  • Loading branch information...
commit 475527c0837a562c8da4f1e46aa072aae2519299 1 parent fa875b9
@jeremy jeremy authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 actionpack/test/template/deprecated_erb_variable_test.rb
View
9 actionpack/test/template/deprecated_erb_variable_test.rb
@@ -0,0 +1,9 @@
+require 'abstract_unit'
+
+class DeprecatedErbVariableTest < ActionView::TestCase
+ def test_setting_erb_variable_warns
+ assert_deprecated 'erb_variable' do
+ ActionView::Base.erb_variable = '_erbout'
+ end
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.