Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Test constant is not defined anymore

  • Loading branch information...
commit 5a740b838662cc5a0c7b1132b8a838c0484e47a1 1 parent 94248ff
@rafaelfranca rafaelfranca authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 actionpack/test/controller/view_paths_test.rb
View
8 actionpack/test/controller/view_paths_test.rb
@@ -16,9 +16,11 @@ def add_view_path
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
Please sign in to comment.
Something went wrong with that request. Please try again.