summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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|