Method: Inspec::RunnerRspec#add_test
- Defined in:
- lib/inspec/runner_rspec.rb
#add_test(example, rule) ⇒ nil
Add an example group to the list of registered tests.
59 60 61 62 |
# File 'lib/inspec/runner_rspec.rb', line 59 def add_test(example, rule) set_rspec_ids(example, rule) @tests.example_groups.push(example) end |