rspec-style-guide icon indicating copy to clipboard operation
rspec-style-guide copied to clipboard

Recommend using `shared_context`

Open pirj opened this issue 6 years ago • 0 comments
trafficstars

  1. shared_context is undeservedly omitted from the style guide, and it's sometimes extremely useful.

  2. It makes sense to add another rule at the same time to describe the difference between shared_example and shared_context, so they are not used interchangeably, the latter should not contain examples/groups.

pirj avatar Nov 23 '18 10:11 pirj