From fc8ae5f36c88fd907e528fba444340ecc7f69670 Mon Sep 17 00:00:00 2001 From: Jon Rowe Date: Sat, 23 Apr 2022 22:00:15 +0100 Subject: [PATCH] Merge pull request #2597 from jasonkarns/patch-1 Infer the spec type for generator specs --- lib/rspec/rails/configuration.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rspec/rails/configuration.rb b/lib/rspec/rails/configuration.rb index 6f781ba1e..243e9c071 100644 --- a/lib/rspec/rails/configuration.rb +++ b/lib/rspec/rails/configuration.rb @@ -28,6 +28,7 @@ class Configuration DIRECTORY_MAPPINGS = { channel: %w[spec channels], controller: %w[spec controllers], + generator: %w[spec generator], helper: %w[spec helpers], job: %w[spec jobs], mailer: %w[spec mailers],