diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-03 17:46:09 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-04 11:58:42 -0300 |
commit | 34bcbcf35701ca44be559ff391535c0dd865c333 (patch) | |
tree | eb3e76564f960fb0ae217e3ce77114c6a50fd019 /actionview/test/actionpack | |
parent | 92e27d30d8112962ee068f7b14aa7b10daf0c976 (diff) | |
download | rails-34bcbcf35701ca44be559ff391535c0dd865c333.tar.gz rails-34bcbcf35701ca44be559ff391535c0dd865c333.tar.bz2 rails-34bcbcf35701ca44be559ff391535c0dd865c333.zip |
Remove deprecated `AbstractController::Base::parent_prefixes`
Diffstat (limited to 'actionview/test/actionpack')
-rw-r--r-- | actionview/test/actionpack/abstract/abstract_controller_test.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/actionview/test/actionpack/abstract/abstract_controller_test.rb b/actionview/test/actionpack/abstract/abstract_controller_test.rb index e653b12d32..fac0a1fbb7 100644 --- a/actionview/test/actionpack/abstract/abstract_controller_test.rb +++ b/actionview/test/actionpack/abstract/abstract_controller_test.rb @@ -182,22 +182,6 @@ module AbstractController end end - class DeprecatedParentPrefixes < OverridingLocalPrefixes - def self.parent_prefixes - ["abstract_controller/testing/me3"] - end - end - - class DeprecatedParentPrefixesTest < ActiveSupport::TestCase # TODO: remove me in 5.0/4.3. - test "overriding .parent_prefixes is deprecated" do - @controller = DeprecatedParentPrefixes.new - assert_deprecated do - @controller.process(:index) - end - assert_equal "Hello from me3/index.erb", @controller.response_body - end - end - # Test rendering with layouts # ==== # self._layout is used when defined |