diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-01-06 22:51:45 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-01-06 22:51:45 -0300 |
commit | 5a740b838662cc5a0c7b1132b8a838c0484e47a1 (patch) | |
tree | c6d080a99950458cb93b7dc96efcc219fe25c2ec | |
parent | 94248ffe1e6f815b8ffab4eb752b60c1e4459d25 (diff) | |
download | rails-5a740b838662cc5a0c7b1132b8a838c0484e47a1.tar.gz rails-5a740b838662cc5a0c7b1132b8a838c0484e47a1.tar.bz2 rails-5a740b838662cc5a0c7b1132b8a838c0484e47a1.zip |
Test constant is not defined anymore
-rw-r--r-- | actionpack/test/controller/view_paths_test.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/actionpack/test/controller/view_paths_test.rb b/actionpack/test/controller/view_paths_test.rb index f5ac886c20..872f171c42 100644 --- a/actionpack/test/controller/view_paths_test.rb +++ b/actionpack/test/controller/view_paths_test.rb @@ -16,9 +16,11 @@ class ViewLoadPathsTest < ActionController::TestCase end end - class Test::SubController < ActionController::Base - layout 'test/sub' - def hello_world; render(:template => 'test/hello_world'); end + module Test + class SubController < ActionController::Base + layout 'test/sub' + def hello_world; render(:template => 'test/hello_world'); end + end end def setup |