summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2014-11-19 20:35:38 -0800
committerAndre Arko <andre@arko.net>2014-11-19 20:35:44 -0800
commitf807ac0d6267a65242e2b7eb0aefbba7176f8f4c (patch)
treec79d18947eb36e4f68bb0a4264ad4a9c9405ce5e
parent481a51805670d408445a39ded6117d808484c374 (diff)
downloadbundler-f807ac0d6267a65242e2b7eb0aefbba7176f8f4c.tar.gz
So that didn't actually work. Ugh. Try again.
-rw-r--r--spec/commands/config_spec.rb2
-rw-r--r--spec/spec_helper.rb8
2 files changed, 1 insertions, 9 deletions
diff --git a/spec/commands/config_spec.rb b/spec/commands/config_spec.rb
index e0e0646ce8..208af617df 100644
--- a/spec/commands/config_spec.rb
+++ b/spec/commands/config_spec.rb
@@ -210,7 +210,7 @@ E
expect(out).to eq("1")
end
- it "doesn't duplicate quotes around values", :ruby => "2.1" do
+ it "doesn't duplicate quotes around values", :if => (RUBY_VERSION >= "2.1") do
bundled_app(".bundle").mkpath
File.open(bundled_app(".bundle/config"), 'w') do |f|
f.write 'BUNDLE_FOO: "$BUILD_DIR"'
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 1396dc6921..e55a72bcf0 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -72,14 +72,6 @@ RSpec.configure do |config|
config.filter_run_excluding :ruby => "2.1"
end
- if RUBY_VERSION >= "2.1"
- config.filter_run_excluding :ruby => "1.8"
- config.filter_run_excluding :ruby => "1.9"
- config.filter_run_excluding :ruby => "2.0"
- else
- config.filter_run_excluding :ruby => "2.1"
- end
-
if Gem::VERSION < "2.2"
config.filter_run_excluding :rubygems => "2.2"
end