summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2014-04-02 00:26:48 +0800
committerAndre Arko <andre@arko.net>2014-04-02 00:26:48 +0800
commit2d63573e6a0a75dc98a90484c81b2e76bb1e8f97 (patch)
treef19124711077c722b9cfa048c95125a41f767c98
parent2bc1277a6a177237e0469eff1cc59b2e93d048a0 (diff)
downloadbundler-2d63573e6a0a75dc98a90484c81b2e76bb1e8f97.tar.gz
don't add a filter, just exclude if too old
-rw-r--r--spec/spec_helper.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index e634710f32..cfad091ca4 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -63,9 +63,7 @@ RSpec.configure do |config|
config.filter_run_excluding :ruby => "1.9"
end
- if Gem::VERSION >= "2.2"
- config.filter_run :rubygems => "2.2"
- else
+ if Gem::VERSION < "2.2"
config.filter_run_excluding :rubygems => "2.2"
end