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.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index e1d530d..913ee7c 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -12,13 +12,13 @@ Dir["spec/support/**/*.rb"].map { |f| f.gsub(%r{.rb$}, "") }.each { |f| require
RSpec.configure do |config|
config.mock_with :rspec
- config.filter_run :focus => true
- config.filter_run_excluding :external => true
+ config.filter_run focus: true
+ config.filter_run_excluding external: true
# Add jruby filters here
- config.filter_run_excluding :windows_only => true unless windows?
- config.filter_run_excluding :unix_only => true unless unix?
- config.filter_run_excluding :requires_root => true unless root?
+ config.filter_run_excluding windows_only: true unless windows?
+ config.filter_run_excluding unix_only: true unless unix?
+ config.filter_run_excluding requires_root: true unless root?
config.run_all_when_everything_filtered = true