aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/new_base/render_xml_test.rb
diff options
context:
space:
mode:
authorYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-05-14 15:30:35 -0700
committerYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-05-14 15:30:35 -0700
commit8fac2c88cae0f2fd42fad3c2c2c6c860df14d629 (patch)
treed959ad5fa6cf72cc8c887cdf1ebdfe2ddea94bc4 /actionpack/test/new_base/render_xml_test.rb
parent49a84ff69ca4fc4db821ca3b5a5926d07832c845 (diff)
downloadrails-8fac2c88cae0f2fd42fad3c2c2c6c860df14d629.tar.gz
rails-8fac2c88cae0f2fd42fad3c2c2c6c860df14d629.tar.bz2
rails-8fac2c88cae0f2fd42fad3c2c2c6c860df14d629.zip
Cleaning up more render tests
Diffstat (limited to 'actionpack/test/new_base/render_xml_test.rb')
-rw-r--r--actionpack/test/new_base/render_xml_test.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/actionpack/test/new_base/render_xml_test.rb b/actionpack/test/new_base/render_xml_test.rb
new file mode 100644
index 0000000000..e6c40b1533
--- /dev/null
+++ b/actionpack/test/new_base/render_xml_test.rb
@@ -0,0 +1,11 @@
+require File.join(File.expand_path(File.dirname(__FILE__)), "test_helper")
+
+module RenderXml
+
+ # This has no layout and it works
+ class BasicController < ActionController::Base
+ self.view_paths = [ActionView::Template::FixturePath.new(
+ "render_xml/basic/with_render_erb" => "Hello world!"
+ )]
+ end
+end \ No newline at end of file