1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/controller/new_base/render_xml_test.rb

12 lines
260 B
Ruby
Raw Normal View History

2009-09-19 13:10:41 -04:00
require 'abstract_unit'
2009-05-14 18:30:35 -04:00
module RenderXml
2009-05-14 18:30:35 -04:00
# This has no layout and it works
class BasicController < ActionController::Base
self.view_paths = [ActionView::FixtureResolver.new(
2009-05-14 18:30:35 -04:00
"render_xml/basic/with_render_erb" => "Hello world!"
)]
end
end