Hi there, We have a bunch of similar specs that share helpers in a subdirectory of `spec/` and were wondering if we could just extend rspec-rails' type inference based on the spec file's location to give them all a specific "type" and include helpers based on that type. When we popped open the source code we found that the mapping of types to locations happens in a hash constant (`RSpec::Rails::DIRECTORY_MAPPINGS`) that is marked as private.
Would the maintainers be open to a PR that opened up a public API for registering new type/file location configurations? If so I'd be happy to open something! Cheers, Brent -- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/45e4a138-c436-49f9-ab82-b2a6235e1327%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
