Skip to content

Forbid any type of metadata in RSpec shared_examples and shared_context

Related #389268 (closed) and !116314 (comment 1337314756)

Using metadata in shared examples is causing flaky tests.

Proposal

We can do this using a Rubocop rule.

This one could be changed !115554 (merged)

Edited by Alina Mihaila