Skip to content
James Chevalier edited this page Jun 23, 2020 · 2 revisions

Welcome to the rails-controller-testing wiki!

RSpec.configure do |config|
  [:controller, :view, :request].each do |type|
    config.include ::Rails::Controller::Testing::TestProcess, :type => type
    config.include ::Rails::Controller::Testing::TemplateAssertions, :type => type
    config.include ::Rails::Controller::Testing::Integration, :type => type
  end
end
Clone this wiki locally