Module: RSpec::Rails::ViewRendering::EmptyTemplates

Defined in:
lib/rspec/rails/view_rendering.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) append_view_path(new_path)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

99
100
101
# File 'lib/rspec/rails/view_rendering.rb', line 99
def append_view_path(new_path)
  lookup_context.view_paths.push(*_path_decorator(new_path))
end

- (Object) prepend_view_path(new_path)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

94
95
96
# File 'lib/rspec/rails/view_rendering.rb', line 94
def prepend_view_path(new_path)
  lookup_context.view_paths.unshift(*_path_decorator(new_path))
end