Using Rspec and Sorbet: Is `typed: true` realistic for rspec files?

This message was imported from the Ruby/Rails Modularity Slack server. Find more info in the import thread.

Message originally sent by slack user U70NCVWK9T0

Just curious if anyone here uses Rspec and Sorbet. Is typed: true a total fantasy for rspec files? Just wondering if anyone has any experience / recommendations! :man-bowing:

Message originally sent by slack user U717GMJTWHJ

We don’t type our specs and I’m not sure it would make sense unless you’re creating methods in your specs?

Message originally sent by slack user U70NCVWK9T0

Not so much. Was just curious what folks are doing here. We set them up as typed: false initially. It caught a few weird constant errors when we were setting it up. You can also use go-to-reference to find your spec files which is nice.

Message originally sent by slack user U717FXJ8HWK

typed: false seems to be the mainstream as far as I can tell. RSpec is just too magical for stricter levels.