module RSpec::Rails::ViewRendering::ClassMethods

def integrate_views

def integrate_views
  RSpec.deprecate("integrate_views","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)

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

def render_views?

def render_views?
  metadata_for_rspec_rails[:render_views] || RSpec.configuration.render_views?
end