class RSpec::Rails::ViewRendering::EmptyTemplateResolver::ResolverDecorator
def nullify_templates(collection)
def nullify_templates(collection) return collection unless collection.is_a?(Enumerable) return collection unless collection.all? { |element| element.is_a?(::ActionView::Template) } EmptyTemplateResolver.nullify_template_rendering(collection) end