module AutomationObject::StepDefinitions

Require step definitons at run-time, only when running in a Cucumber context

Public Instance Methods

load() click to toggle source
# 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