You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've checked the docs and don't believe this can currently be done, but would it be possible to create a cop that enforced the first describe of a spec has been defined as RSpec.describe?
The monkey-patching mode, top-level describe with no receiver, will be removed in RSpec 4. To ease up the process of upgrading, you can use Transpec, which will do the conversion for you.
I've checked the docs and don't believe this can currently be done, but would it be possible to create a cop that enforced the first
describe
of a spec has been defined asRSpec.describe
?So something like:
The text was updated successfully, but these errors were encountered: