ruby-changes:61325
From: Hiroshi <ko1@a...>
Date: Fri, 22 May 2020 20:32:57 +0900 (JST)
Subject: [ruby-changes:61325] df5fd1d09c (master): Fixup 1d079a0c5d4d80860a4d6d692344124fe5c562b5
https://git.ruby-lang.org/ruby.git/commit/?id=df5fd1d09c From df5fd1d09c953284fcdef450e3c2a5e8474850d4 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Thu, 21 May 2020 21:57:47 +0900 Subject: Fixup 1d079a0c5d4d80860a4d6d692344124fe5c562b5 diff --git a/spec/bundler/commands/exec_spec.rb b/spec/bundler/commands/exec_spec.rb index b387419..1b1839a 100644 --- a/spec/bundler/commands/exec_spec.rb +++ b/spec/bundler/commands/exec_spec.rb @@ -931,7 +931,7 @@ __FILE__: #{path.to_s.inspect} https://github.com/ruby/ruby/blob/trunk/spec/bundler/commands/exec_spec.rb#L931 end end - context "with a git gem that includes extensions" do + context "with a git gem that includes extensions", :ruby_repo do before do build_git "simple_git_binary", &:add_c_extension bundle! "config set --local path .bundle" diff --git a/spec/bundler/runtime/gem_tasks_spec.rb b/spec/bundler/runtime/gem_tasks_spec.rb index a81eaf5..979f910 100644 --- a/spec/bundler/runtime/gem_tasks_spec.rb +++ b/spec/bundler/runtime/gem_tasks_spec.rb @@ -44,7 +44,7 @@ RSpec.describe "require 'bundler/gem_tasks'" do https://github.com/ruby/ruby/blob/trunk/spec/bundler/runtime/gem_tasks_spec.rb#L44 expect(exitstatus).to eq(0) if exitstatus end - it "defines a working `rake install` task" do + it "defines a working `rake install` task", :ruby_repo do with_gem_path_as(base_system_gems.to_s) do sys_exec "#{rake} install", :env => { "GEM_HOME" => system_gem_path.to_s } end @@ -56,7 +56,7 @@ RSpec.describe "require 'bundler/gem_tasks'" do https://github.com/ruby/ruby/blob/trunk/spec/bundler/runtime/gem_tasks_spec.rb#L56 expect(err).to be_empty end - context "rake build when path has spaces" do + context "rake build when path has spaces", :ruby_repo do before do spaced_bundled_app = tmp.join("bundled app") FileUtils.cp_r bundled_app, spaced_bundled_app @@ -73,7 +73,7 @@ RSpec.describe "require 'bundler/gem_tasks'" do https://github.com/ruby/ruby/blob/trunk/spec/bundler/runtime/gem_tasks_spec.rb#L73 bundle "config set path vendor/bundle" end - it "works" do + it "works", :ruby_repo do install_gemfile! <<-G source "#{file_uri_for(gem_repo1)}" diff --git a/spec/bundler/runtime/with_unbundled_env_spec.rb b/spec/bundler/runtime/with_unbundled_env_spec.rb index 4525321..589f84b 100644 --- a/spec/bundler/runtime/with_unbundled_env_spec.rb +++ b/spec/bundler/runtime/with_unbundled_env_spec.rb @@ -61,7 +61,7 @@ RSpec.describe "Bundler.with_env helpers" do https://github.com/ruby/ruby/blob/trunk/spec/bundler/runtime/with_unbundled_env_spec.rb#L61 EOS end - it "removes variables that bundler added" do + it "removes variables that bundler added", :ruby_repo do # Simulate bundler has not yet been loaded ENV.replace(ENV.to_hash.delete_if {|k, _v| k.start_with?(Bundler::EnvironmentPreserver::BUNDLER_PREFIX) }) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/