Sha256: 740c8a01902ef35aeb265e38cb03e7d3c5629eef7aebc4f05ac2f098c125b6ce

Contents?: true

Size: 427 Bytes

Versions: 1

Compression:

Stored size: 427 Bytes

Contents

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

require 'rspec'
require 'rspec/given'
require 'childprocess'
require 'ffi'
require 'uia'

RSpec.configure do |config|
  config.before(:all) do
    @app = ChildProcess.build('spec/app/WindowsForms.exe').start
    sleep 0.5
  end

  config.after(:all) do
    @app.stop unless @app.exited?
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
uia-0.0.6 spec/spec_helper.rb