Sha256: edf076d8320cb37576dd7da0dfbd5827ef8657596383941c1f8ff0a1ffbac23f

Contents?: true

Size: 617 Bytes

Versions: 2

Compression:

Stored size: 617 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '../../', 'lib'))

require 'rspec-expectations'
require 'childprocess'
require 'mohawk'

World(Mohawk::Navigation)

require_rel 'screens'

Mohawk::Navigation.routes = {
  :default => [
    [MainScreen, :about],
    [AboutScreen, :close],
    [MainScreen, :data_entry_form_button],
    [DataEntryForm]
  ]  
}

Before do
  @process = ChildProcess.build('features\\support\\WindowsForms.exe')
  @process.start
  RAutomation::WaitHelper.wait_until {RAutomation::Window.new(:pid => @process.pid).present?}
end

After do
  @process.stop
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mohawk-0.0.4 features/support/env.rb
mohawk-0.0.3 features/support/env.rb