Sha256: 8547706e69afca0f1adb11cd3a19e2ba342b192e0d82bf115008be79f600c983
Contents?: true
Size: 920 Bytes
Versions: 3
Compression:
Stored size: 920 Bytes
Contents
$LOAD_PATH.unshift File.expand_path('..', __FILE__) unless $LOAD_PATH.include? File.expand_path('..', __FILE__) $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) unless $LOAD_PATH.include? File.expand_path('../../lib', __FILE__) require 'rubygems' require 'win32/autogui' require 'spec' require 'spec/autorun' require 'aruba/api' # applications require File.expand_path(File.dirname(__FILE__) + '/applications/calculator') # aruba helper, returns full path to files in the aruba tmp folder def fullpath(filename) path = File.expand_path(File.join(current_dir, filename)) path = `cygpath -w #{path}`.chomp if path.match(/^\/cygdrive/) # cygwin? path end # return the contents of "filename" in the aruba tmp folder def get_file_content(filename) in_current_dir do IO.read(filename) end end Spec::Runner.configure do |config| config.include Aruba::Api end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
win32-autogui-0.3.0 | spec/spec_helper.rb |
win32-autogui-0.2.1 | spec/spec_helper.rb |
win32-autogui-0.2.0 | spec/spec_helper.rb |