aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/render_test.rb
diff options
context:
space:
mode:
authorJamis Buck <jamis@37signals.com>2005-06-15 13:20:17 +0000
committerJamis Buck <jamis@37signals.com>2005-06-15 13:20:17 +0000
commit14c378cc7fd364ea5d96e13746345a29341cd845 (patch)
tree6b302c43fec40f5ca9a3f72e75b411338eaec53a /actionpack/test/controller/render_test.rb
parent280c224b43f8a8d42ebfbe104e94d3895972856d (diff)
downloadrails-14c378cc7fd364ea5d96e13746345a29341cd845.tar.gz
rails-14c378cc7fd364ea5d96e13746345a29341cd845.tar.bz2
rails-14c378cc7fd364ea5d96e13746345a29341cd845.zip
render(:template) applies a layout by default. render("foo/bar") works with a layout again.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1424 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller/render_test.rb')
-rw-r--r--actionpack/test/controller/render_test.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/actionpack/test/controller/render_test.rb b/actionpack/test/controller/render_test.rb
index 98d279055d..2dab50c9df 100644
--- a/actionpack/test/controller/render_test.rb
+++ b/actionpack/test/controller/render_test.rb
@@ -88,20 +88,6 @@ end
TestController.template_root = File.dirname(__FILE__) + "/../fixtures/"
Fun::GamesController.template_root = File.dirname(__FILE__) + "/../fixtures/"
-class TestLayoutController < ActionController::Base
- layout "layouts/standard"
-
- def hello_world
- end
-
- def hello_world_outside_layout
- end
-
- def rescue_action(e)
- raise unless ActionController::MissingTemplate === e
- end
-end
-
class RenderTest < Test::Unit::TestCase
def setup
@request = ActionController::TestRequest.new