summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColby Swandale <me@colby.fyi>2018-09-18 21:48:18 +1000
committerColby Swandale <me@colby.fyi>2018-09-18 21:56:32 +1000
commit80af9e4806d60cd2720f5300b1f62f56662ef510 (patch)
treeb4ec13c3aaa0889a043ca5b731c4d2adaddf0b1f
parentde4d76b990c36c44001dec6b543f7a5c821aa5c6 (diff)
downloadbundler-80af9e4806d60cd2720f5300b1f62f56662ef510.tar.gz
scope TruffleRuby platform specs to be RubyGems >= 2.1.0
-rw-r--r--spec/other/bundle_ruby_spec.rb2
-rw-r--r--spec/other/platform_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/other/bundle_ruby_spec.rb b/spec/other/bundle_ruby_spec.rb
index bcb38a63ca..a7da9cbec9 100644
--- a/spec/other/bundle_ruby_spec.rb
+++ b/spec/other/bundle_ruby_spec.rb
@@ -54,7 +54,7 @@ RSpec.describe "bundle_ruby", :bundler => "< 2" do
expect(out).to include("ruby 1.8.7 (rbx 1.2.4)")
end
- it "handles truffleruby" do
+ it "handles truffleruby", :rubygems => ">= 2.1.0" do
gemfile <<-G
source "file://#{gem_repo1}"
ruby "2.5.1", :engine => 'truffleruby', :engine_version => '1.0.0-rc6'
diff --git a/spec/other/platform_spec.rb b/spec/other/platform_spec.rb
index 3654b630df..ca74945563 100644
--- a/spec/other/platform_spec.rb
+++ b/spec/other/platform_spec.rb
@@ -149,7 +149,7 @@ G
expect(out).to eq("ruby 1.8.7 (rbx 1.2.4)")
end
- it "handles truffleruby" do
+ it "handles truffleruby", :rubygems => ">= 2.1.0" do
gemfile <<-G
source "file://#{gem_repo1}"
ruby "2.5.1", :engine => 'truffleruby', :engine_version => '1.0.0-rc6'