summaryrefslogtreecommitdiff
path: root/spec/runtime
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-11-28 12:38:07 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-11-28 15:37:24 +0100
commitb0014b7b4c03ecc162e6c8cc2a1ef5ce27c8e3f8 (patch)
tree572b6c4315ae6a2cf3d4ed2196585d49ec47ab07 /spec/runtime
parent20bd3fde0bcc172a7d9aa575ad48267e2a4ce030 (diff)
downloadbundler-b0014b7b4c03ecc162e6c8cc2a1ef5ce27c8e3f8.tar.gz
Only consider exempted default gems
Diffstat (limited to 'spec/runtime')
-rw-r--r--spec/runtime/setup_spec.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb
index 04f044d5b3..168b3480f9 100644
--- a/spec/runtime/setup_spec.rb
+++ b/spec/runtime/setup_spec.rb
@@ -1264,7 +1264,7 @@ end
end
let(:default_gems) do
- Gem::Specification.select(&:default_gem?).map(&:name)
+ Gem::Specification.select(&:default_gem?).map(&:name).reject {|g| exemptions.include?(g) }
end
it "activates newer versions of default gems" do
@@ -1274,8 +1274,6 @@ end
end
end
- default_gems.reject! {|g| exemptions.include?(g) }
-
install_gemfile! <<-G
source "#{file_uri_for(gem_repo4)}"
#{default_gems}.each do |g|
@@ -1293,8 +1291,6 @@ end
end
end
- default_gems.reject! {|g| exemptions.include?(g) }
-
install_gemfile! <<-G
source "#{file_uri_for(gem_repo4)}"
#{default_gems}.each do |g|