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

13 lines
290 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require "abstract_unit"
2009-05-14 18:30:35 -04:00
module RenderXml
# 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