diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2021-04-19 21:37:21 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2021-04-19 21:40:29 +0900 |
commit | 50f17241a32d837403fae68dc1ed0f046506d3e8 (patch) | |
tree | 02cc46676ac284cc7cb6f1aaeade5c101934f9b7 /spec/bundler/commands | |
parent | 93420d34aaf8c30f11a66dd08eb186da922c831d (diff) | |
download | ruby-50f17241a32d837403fae68dc1ed0f046506d3e8.tar.gz |
Try to fix other failures of writing XDG_CONFIG_HOME
https://github.com/ruby/actions/actions/runs/756591173
https://github.com/ruby/actions/actions/runs/759073690
https://github.com/ruby/actions/actions/runs/761341026
```
Errno::EACCES: Permission denied @ dir_s_mkdir - /home/runner/.config/irb
```
Diffstat (limited to 'spec/bundler/commands')
-rw-r--r-- | spec/bundler/commands/console_spec.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/spec/bundler/commands/console_spec.rb b/spec/bundler/commands/console_spec.rb index 1a38ce29d5..aa76096e3d 100644 --- a/spec/bundler/commands/console_spec.rb +++ b/spec/bundler/commands/console_spec.rb @@ -45,17 +45,6 @@ RSpec.describe "bundle console", :bundler => "< 3", :readline => true do G end - around :each do |example| - require 'tmpdir' - Dir.mktmpdir("bundler_commands_console") do |dir| - xdg_config_home_backup = ENV.delete("XDG_CONFIG_HOME") - ENV["XDG_CONFIG_HOME"] = dir - example.run - ensure - ENV["XDG_CONFIG_HOME"] = xdg_config_home_backup - end - end - it "starts IRB with the default group loaded" do bundle "console" do |input, _, _| input.puts("puts RACK") |