rspec-style-guide
rspec-style-guide copied to clipboard
Recommend using `shared_context`
trafficstars
-
shared_contextis undeservedly omitted from the style guide, and it's sometimes extremely useful. -
It makes sense to add another rule at the same time to describe the difference between
shared_exampleandshared_context, so they are not used interchangeably, the latter should not contain examples/groups.