From 6c6dd943423d0f1808f2c0fc42542d317bc9c043 Mon Sep 17 00:00:00 2001 From: Igor Fedoronchuk Date: Wed, 30 Sep 2026 14:34:43 +0200 Subject: [PATCH] Exclude the root-mounted suite from a bare `rspec` run `.rspec` still listed only the engine and isolated-engine suites, so `bundle exec rspec` with no arguments loaded spec/root alongside the default suite and booted two dummy Rails apps in one process. The rake tasks were already correct; this is the same exclusion for the plain command. --- .rspec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.rspec b/.rspec index db77bd0..2ba6782 100644 --- a/.rspec +++ b/.rspec @@ -1,8 +1,9 @@ --require spec_helper --format documentation --color -# `bundle exec rspec` runs the default suite (spec/dummy). The engine- -# and isolated-engine suites each boot their own dummy Rails app and -# must run in separate processes — invoke them via `rake spec:engine` -# and `rake spec:isolated`, or all three with `rake spec:all`. ---exclude-pattern "spec/{engine,isolated,dummy_engine,dummy_isolated}/**/*" +# `bundle exec rspec` runs the default suite (spec/dummy). The engine-, +# isolated-engine and root-mounted suites each boot their own dummy +# Rails app and must run in separate processes — invoke them via +# `rake spec:engine`, `rake spec:isolated` and `rake spec:root`, or all +# four with `rake spec:all`. +--exclude-pattern "spec/{engine,isolated,root,dummy_engine,dummy_isolated,dummy_root}/**/*"