aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/abstract_controller/helper_test.rb
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2009-03-20 16:50:51 -0700
committerYehuda Katz <wycats@gmail.com>2009-03-23 10:23:14 -0700
commitc6123c37030b715d088860ea1ca79060659b0e3c (patch)
tree36da3c375333660c0ff41dcf113dfdf3f82c9bde /actionpack/test/abstract_controller/helper_test.rb
parent81e814adfad6d4bba1af5f70a5a409f6d71f8f6c (diff)
downloadrails-c6123c37030b715d088860ea1ca79060659b0e3c.tar.gz
rails-c6123c37030b715d088860ea1ca79060659b0e3c.tar.bz2
rails-c6123c37030b715d088860ea1ca79060659b0e3c.zip
Finished implementing layout for render :text
Diffstat (limited to 'actionpack/test/abstract_controller/helper_test.rb')
-rw-r--r--actionpack/test/abstract_controller/helper_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/test/abstract_controller/helper_test.rb b/actionpack/test/abstract_controller/helper_test.rb
index 81dbee3065..e1b2141331 100644
--- a/actionpack/test/abstract_controller/helper_test.rb
+++ b/actionpack/test/abstract_controller/helper_test.rb
@@ -7,6 +7,10 @@ module AbstractController
include Renderer
include Helpers
+ def render(string)
+ super(:_template_name => string)
+ end
+
append_view_path File.expand_path(File.join(File.dirname(__FILE__), "views"))
end