class RSpec::Rails::ViewRendering::EmptyTemplateResolver::ResolverDecorator

Delegates all methods to the submitted resolver and for all methods that return a collection of `ActionView::Template` instances, return templates with modified source

@private

Public Instance Methods

method_missing(name, *args, &block) click to toggle source
# File lib/rspec/rails/view_rendering.rb, line 88
def method_missing(name, *args, &block)
  result = @resolver.send(name, *args, &block)
  nullify_templates(result)
end

Public Class Methods

new(resolver) click to toggle source
# File lib/rspec/rails/view_rendering.rb, line 84
def initialize(resolver)
  @resolver = resolver
end