# File lib/spec/example/example_group_methods.rb, line 59def it_should_behave_like(shared_example_group)caseshared_example_groupwhenSharedExampleGroupincludeshared_example_groupelseexample_group=SharedExampleGroup.find_shared_example_group(shared_example_group)unlessexample_groupraiseRuntimeError.new("Shared Example Group '#{shared_example_group}' can not be found")endinclude(example_group)endend