Module: Nonnative::Cucumber::WorldHooks
- Included in:
- Registration
- Defined in:
- lib/nonnative/cucumber.rb
Instance Method Summary collapse
Instance Method Details
#install_hooks ⇒ Object
25 26 27 28 29 30 31 |
# File 'lib/nonnative/cucumber.rb', line 25 def install_hooks Before('@startup') { Nonnative.start } After('@startup') { Nonnative.stop } After('@manual') { Nonnative.stop } Before('@clear') { Nonnative.clear } After('@reset') { Nonnative.reset } end |
#install_world ⇒ Object
19 20 21 22 23 |
# File 'lib/nonnative/cucumber.rb', line 19 def install_world World(::RSpec::Benchmark::Matchers) World(::RSpec::Matchers) World(::RSpec::Wait) end |