rails--rails/actionpack/test/new_base/render_xml_test.rb

11 lines
318 B
Ruby
Raw Normal View History

2009-05-14 22:30:35 +00:00
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