mirror of
https://github.com/github/rails.git
synced 2026-04-04 03:00:58 -04:00
Missed add: deprecated erb_variable test
This commit is contained in:
9
actionpack/test/template/deprecated_erb_variable_test.rb
Normal file
9
actionpack/test/template/deprecated_erb_variable_test.rb
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user