method
include_shared_example_group
include_shared_example_group(shared_example_group)
private
Hide source
# File lib/spec/example/example_group_methods.rb, line 273 def include_shared_example_group(shared_example_group) case shared_example_group when SharedExampleGroup include shared_example_group else unless example_group = SharedExampleGroup.find(shared_example_group) raise RuntimeError.new("Shared Example Group '#{shared_example_group}' can not be found") end include(example_group) end end