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)


29
30
31
# File 'lib/rspec/rails/view_rendering.rb', line 29

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