module RSpec::SleepingKingStudios::Concerns::SharedExampleGroup

Methods for creating reusable shared example groups and shared contexts in a module that can be mixed into multiple RSpec example groups.

@example

module MySharedExamples
  extend RSpec::SleepingKingStudios::Concerns::SharedExampleGroup

  shared_examples 'my examples' do
    # Define shared examples here.
  end # shared_examples
end # module

RSpec.describe MyObject do
  include MySharedExamples

  include_examples 'my examples'
end # describe