aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/components_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/test/controller/components_test.rb b/actionpack/test/controller/components_test.rb
index 57e3b21acf..c71de444dc 100644
--- a/actionpack/test/controller/components_test.rb
+++ b/actionpack/test/controller/components_test.rb
@@ -143,6 +143,8 @@ end
class UsesComponentTemplateRootTest < Test::Unit::TestCase
def test_uses_component_template_root
- assert_equal './test/fixtures/', A::B::C::NestedController.uses_component_template_root
+ assert_deprecated 'uses_component_template_root' do
+ assert_equal './test/fixtures/', A::B::C::NestedController.uses_component_template_root
+ end
end
end