aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-01-06 22:51:45 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-01-06 22:51:45 -0300
commit5a740b838662cc5a0c7b1132b8a838c0484e47a1 (patch)
treec6d080a99950458cb93b7dc96efcc219fe25c2ec
parent94248ffe1e6f815b8ffab4eb752b60c1e4459d25 (diff)
downloadrails-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.rb8
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