Method: Inspec::RunnerRspec#example_group

Defined in:
lib/inspec/runner_rspec.rb

#example_group(*args, &block) ⇒ RSpecExampleGroup

Create a new RSpec example group from arguments and block.

Parameters:

  • *args (Type)

    list of arguments for this example

  • &block (Type)

    the block associated with this example group

Returns:

  • (RSpecExampleGroup)


26
27
28
# File 'lib/inspec/runner_rspec.rb', line 26

def example_group(*args, &block)
  RSpec::Core::ExampleGroup.describe(*args, &block)
end