module RSpec::Rails::ViewRendering::EmptyTemplates
Used to null out view rendering in controller specs.
@private
Public Instance Methods
Source
# File lib/rspec/rails/view_rendering.rb, line 133 def append_view_path(new_path) super(_path_decorator(*new_path)) end
Calls superclass method
Source
# File lib/rspec/rails/view_rendering.rb, line 129 def prepend_view_path(new_path) super(_path_decorator(*new_path)) end
Calls superclass method
Private Instance Methods
Source
# File lib/rspec/rails/view_rendering.rb, line 139 def _path_decorator(*paths) paths.map { |path| EmptyTemplateResolver.build(path) } end