summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 58036cc..762363c 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,11 +1,10 @@
# $:.unshift File.expand_path('../../lib', __FILE__)
-require 'rspec'
-require 'wmi-lite'
+require "rspec"
+require "wmi-lite"
RSpec.configure do |config|
config.include(RSpec::Matchers)
- config.filter_run :focus => true
- config.filter_run_excluding :windows_only => true if ! (RUBY_PLATFORM =~ /mswin|mingw32|windows/)
+ config.filter_run focus: true
+ config.filter_run_excluding windows_only: true unless RUBY_PLATFORM =~ /mswin|mingw32|windows/
config.run_all_when_everything_filtered = true
end
-