diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-27 13:37:41 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-28 17:40:54 +0100 |
commit | 83cb83670f658610ee35886b565f376e6683188a (patch) | |
tree | 36e3ac02ec87e2cb78c38355c414ce59c6cd764b | |
parent | 07a7ae29c51e878f9ab31f2f3fa5511d4c209789 (diff) | |
download | bundler-83cb83670f658610ee35886b565f376e6683188a.tar.gz |
Remove a couple of unnecessary RGV usages
-rw-r--r-- | spec/install/security_policy_spec.rb | 3 | ||||
-rw-r--r-- | spec/runtime/setup_spec.rb | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/spec/install/security_policy_spec.rb b/spec/install/security_policy_spec.rb index 6e94c3f7ce..ad76162aac 100644 --- a/spec/install/security_policy_spec.rb +++ b/spec/install/security_policy_spec.rb @@ -32,8 +32,7 @@ RSpec.describe "policies with unsigned gems" do expect(err).to include("security policy didn't allow") end - # This spec will fail on RubyGems 2 rc1 due to a bug in policy.rb. the bug is fixed in rc3. - it "will fail with Medium Security setting due to presence of unsigned gem", :unless => ENV["RGV"] == "v2.0.0.rc.1" do + it "will fail with Medium Security setting due to presence of unsigned gem" do bundle "install --trust-policy=MediumSecurity" expect(err).to include("security policy didn't allow") end diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb index d0bc44ca98..87ef96565d 100644 --- a/spec/runtime/setup_spec.rb +++ b/spec/runtime/setup_spec.rb @@ -1213,7 +1213,7 @@ end describe "default gem activation" do let(:exemptions) do - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new("2.7") || ENV["RGV"] == "master" + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new("2.7") [] else %w[io-console openssl] |