method
add_shared_example_group

1.1.4 -
Show latest stable
-
0 notes -
Class: Spec::Example::SharedExampleGroup
- 1.1.4 (0)
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
add_shared_example_group(new_example_group)
public
Hide source
# File lib/spec/example/shared_example_group.rb, line 5 def add_shared_example_group(new_example_group) guard_against_redefining_existing_example_group(new_example_group) shared_example_groups << new_example_group end