module RSpec::Rails::ViewRendering::EmptyTemplates

def _path_decorator(*paths)

def _path_decorator(*paths)
  paths.map { |path| EmptyTemplateResolver.build(path) }
end

def append_view_path(new_path)

def append_view_path(new_path)
  lookup_context.view_paths.push(*_path_decorator(*new_path))
end

def prepend_view_path(new_path)

def prepend_view_path(new_path)
  lookup_context.view_paths.unshift(*_path_decorator(*new_path))
end