examples/skeleton/spec/spec_helper.rb in win32-autogui-0.4.3 vs examples/skeleton/spec/spec_helper.rb in win32-autogui-0.5.0
- old
+ new
@@ -4,13 +4,15 @@
$LOAD_PATH.include? File.expand_path('../../lib', __FILE__)
require 'rubygems'
require 'win32/autogui'
require 'myapp'
-require 'spec'
-require 'spec/autorun'
+require 'rspec/core'
require 'aruba/api'
require 'aruba_helper'
-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