spec/spec_helper.rb in win32-autogui-0.4.3 vs spec/spec_helper.rb in win32-autogui-0.5.0
- old
+ new
@@ -3,17 +3,19 @@
$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 'rspec/core'
require 'aruba/api'
require 'aruba_helper'
# applications
require File.expand_path(File.dirname(__FILE__) + '/applications/calculator')
require File.expand_path(File.dirname(__FILE__) + '/applications/notepad')
-Spec::Runner.configure do |config|
- config.include Aruba::Api
+RSpec.configure do |config|
+ config.include Aruba::Api
+ config.filter_run :focus => true
+ config.run_all_when_everything_filtered = true
+ config.treat_symbols_as_metadata_keys_with_true_values = true
end