Refactor flow metrics specs to use shared context

Broken off #409978 (closed)

See if we can use a shared context for these: !119423 (comment 1377663516)

spec/support/shared_examples/analytics/cycle_analytics/flow_metrics_examples.rb

Edited by charlie ablett