aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/layout_test.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-07-12 14:33:46 -0500
committerJoshua Peek <josh@joshpeek.com>2008-07-12 14:33:46 -0500
commit73b34e9f75d33dc0709d4ad36c912bdbb8977994 (patch)
treeeea7cb8c3cb428ecfacb6263f4e8f1d903a71824 /actionpack/test/controller/layout_test.rb
parent30204c4e66cea989c4ee48b52c8827c79e98f14a (diff)
downloadrails-73b34e9f75d33dc0709d4ad36c912bdbb8977994.tar.gz
rails-73b34e9f75d33dc0709d4ad36c912bdbb8977994.tar.bz2
rails-73b34e9f75d33dc0709d4ad36c912bdbb8977994.zip
Refactor template preloading. New abstractions include Renderable mixins and a refactored Template class.
Diffstat (limited to 'actionpack/test/controller/layout_test.rb')
-rw-r--r--actionpack/test/controller/layout_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/controller/layout_test.rb b/actionpack/test/controller/layout_test.rb
index 32be7d90ff..92b6aa4f2f 100644
--- a/actionpack/test/controller/layout_test.rb
+++ b/actionpack/test/controller/layout_test.rb
@@ -63,6 +63,7 @@ class LayoutAutoDiscoveryTest < Test::Unit::TestCase
end
def test_third_party_template_library_auto_discovers_layout
+ ThirdPartyTemplateLibraryController.view_paths.reload!
@controller = ThirdPartyTemplateLibraryController.new
get :hello
assert_equal 'layouts/third_party_template_library', @controller.active_layout