module RSpec::Rails::ViewRendering::ClassMethods
def integrate_views
- 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)
- See: RSpec::Rails::ControllerExampleGroup -
def render_views(true_or_false=true) metadata_for_rspec_rails[:render_views] = true_or_false end
def render_views?
- Api: - private
def render_views? metadata_for_rspec_rails.fetch(:render_views) do RSpec.configuration.render_views? end end