diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-08 01:32:57 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-08 01:32:57 -0700 |
commit | 56f5c5582c97b60a89ce44f5dfccba0b5aed4357 (patch) | |
tree | 47c6d47e07b80bc764e2112fa28c1a9f5faa17df /actionpack | |
parent | 6c970d79a064b953d3d9555a362a1ad1e0058d1c (diff) | |
download | rails-56f5c5582c97b60a89ce44f5dfccba0b5aed4357.tar.gz rails-56f5c5582c97b60a89ce44f5dfccba0b5aed4357.tar.bz2 rails-56f5c5582c97b60a89ce44f5dfccba0b5aed4357.zip |
Missed add: deprecated erb_variable test
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/template/deprecated_erb_variable_test.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/actionpack/test/template/deprecated_erb_variable_test.rb b/actionpack/test/template/deprecated_erb_variable_test.rb new file mode 100644 index 0000000000..b07c590164 --- /dev/null +++ b/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 |