Module: RSpec::Rails::ViewRendering::InstanceMethods

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

Instance Method Summary collapse

Instance Method Details

#render_views?Boolean

Returns:

  • (Boolean)


24
25
26
# File 'lib/rspec/rails/view_rendering.rb', line 24

def render_views?
  self.class.render_views? || !@controller.class.respond_to?(:view_paths)
end