Class: RSpec::Core::ExampleGroup

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec-steps/duckpunch/example-group.rb

Class Method Summary collapse

Class Method Details

.steps(*args, &example_group_block) ⇒ Object



5
6
7
8
9
# File 'lib/rspec-steps/duckpunch/example-group.rb', line 5

def self.steps(*args, &example_group_block)
  group = describe(*args, &example_group_block)
  group.extend RSpecStepwise
  group
end