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)


45
46
47
# File 'lib/rspec/rails/view_rendering.rb', line 45

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