module RSpec::Rails::ViewRendering::ClassMethods

def integrate_views

Deprecated:
  • Use `render_views` instead.
def integrate_views
  RSpec.deprecate("integrate_views", :replacement => "render_views")
  render_views
end

def metadata_for_rspec_rails

def metadata_for_rspec_rails
  metadata[:rspec_rails] = metadata[:rspec_rails] ? metadata[:rspec_rails].dup : {}
end

def render_views(true_or_false=true)

Other tags:
    See: RSpec::Rails::ControllerExampleGroup -
def render_views(true_or_false=true)
  metadata_for_rspec_rails[:render_views] = true_or_false
end

def render_views?

Other tags:
    Api: - private
def render_views?
  metadata_for_rspec_rails.fetch(:render_views) do
    RSpec.configuration.render_views?
  end
end