summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-11-01 22:09:09 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-11-01 22:09:09 +0900
commit55d13286ae75f5b20b16c2853d9af66d884c019e (patch)
treeb1e7d1911e8160fdb060660528adb2b7d13efaea
parent35c189b81ed8fc684f1394008564f4b6871f2c18 (diff)
downloadbundler-55d13286ae75f5b20b16c2853d9af66d884c019e.tar.gz
rubocop -a
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 7a229dc28e..ede0bdc1d0 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -99,7 +99,7 @@ RSpec.configure do |config|
config.filter_run_excluding :git => LessThanProc.with(git_version)
config.filter_run_excluding :rubygems_master => (ENV["RGV"] != "master")
config.filter_run_excluding :bundler => LessThanProc.with(Bundler::VERSION.split(".")[0, 2].join("."))
- config.filter_run_excluding :ruby_repo => !!(ENV["BUNDLE_RUBY"] && ENV["BUNDLE_GEM"])
+ config.filter_run_excluding :ruby_repo => !(ENV["BUNDLE_RUBY"] && ENV["BUNDLE_GEM"]).nil?
config.filter_run_when_matching :focus unless ENV["CI"]