Skip to content
Browse files

Missed add: deprecated erb_variable test

  • Loading branch information...
1 parent 6c970d7 commit 56f5c5582c97b60a89ce44f5dfccba0b5aed4357 @jeremy jeremy committed Jun 8, 2008
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

0 comments on commit 56f5c55

Please sign in to comment.
Something went wrong with that request. Please try again.