module RSpec::Rails::ViewRendering
@api public Helpers for optionally rendering views in controller specs.
Constants
- RESOLVER_CACHE
-
@private
Attributes
@!attribute [r] Returns the controller object instance under test.
Public Instance Methods
Source
# File lib/rspec/rails/view_rendering.rb, line 38 def render_views? self.class.render_views? || !controller.class.respond_to?(:view_paths) end
@api private