Module: AutomationObject::StepDefinitions
- Defined in:
- lib/automation_object/step_definitions.rb,
lib/automation_object/step_definitions/support/cache.rb,
lib/automation_object/step_definitions/support/parse.rb,
lib/automation_object/step_definitions/support/element_hash.rb,
lib/automation_object/step_definitions/support/element_array.rb
Overview
Require step definitons at run-time, only when running in a Cucumber context
Defined Under Namespace
Modules: Cache, ElementArray, ElementHash Classes: Parse
Class Method Summary collapse
Class Method Details
.load ⇒ Object
8 9 10 11 12 13 |
# File 'lib/automation_object/step_definitions.rb', line 8 def load # Using rspec to run assertions require 'rspec/expectations' Dir[File.dirname(__FILE__) + '/step_definitions/**/*.rb'].each { |file| require file } end |