module RSpec::Rails::ViewExampleGroup::ExampleMethods

def render(options = {}, local_assigns = {}, &block)

Overloads:
  • render({partial: path_to_file}, {... locals ...}) do ... end
  • render({partial: path_to_file}, {... locals ...})
  • render({partial: path_to_file})
  • render
def render(options = {}, local_assigns = {}, &block)
  options = _default_render_options if Hash === options && options.empty?
  options = options.merge(_default_render_options) if Hash === options && options.keys == [:locals]
  super(options, local_assigns, &block)
end