module RSpec::Rails::ViewRendering::EmptyTemplates
def _path_decorator(path)
def _path_decorator(path) EmptyTemplatePathSetDecorator.new(ActionView::PathSet.new(Array.wrap(path))) end
def append_view_path(new_path)
- Api: - private
def append_view_path(new_path) lookup_context.view_paths.push(*_path_decorator(new_path)) end
def prepend_view_path(new_path)
- Api: - private
def prepend_view_path(new_path) lookup_context.view_paths.unshift(*_path_decorator(new_path)) end