Module: RSpec::Core::ObjectExtensions
- Defined in:
- lib/rspec-steps/duckpunch/object-extensions.rb
Instance Method Summary collapse
Instance Method Details
#steps(*args, &example_group_block) ⇒ Object
5 6 7 8 |
# File 'lib/rspec-steps/duckpunch/object-extensions.rb', line 5 def steps(*args, &example_group_block) args << {} unless args.last.is_a?(Hash) RSpec::Core::ExampleGroup.steps(*args, &example_group_block).register end |