From 65ceccb0ba13dc845e6c73ada09b354583c1557a Mon Sep 17 00:00:00 2001 From: Nick Sutterer Date: Tue, 3 May 2011 23:41:38 +0200 Subject: controller's prefixes are now added to LookupContext. --- actionpack/test/controller/view_paths_test.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'actionpack/test/controller/view_paths_test.rb') diff --git a/actionpack/test/controller/view_paths_test.rb b/actionpack/test/controller/view_paths_test.rb index 42356be1ea..3de1849db8 100644 --- a/actionpack/test/controller/view_paths_test.rb +++ b/actionpack/test/controller/view_paths_test.rb @@ -179,4 +179,8 @@ class ViewLoadPathsTest < ActionController::TestCase assert_nothing_raised { C.append_view_path 'c/path' } assert_paths C, "c/path" end + + def test_lookup_context_accessor + assert_equal ["test"], TestController.new.lookup_context.prefixes + end end -- cgit v1.2.3