diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-01-04 06:05:25 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-01-05 15:24:48 +0100 |
commit | de48ef67201f3e693ac5e8a3e57297d6615a3566 (patch) | |
tree | 84e3eeb546bf759640ffac0a3e5897ae4dd99b44 /spec/commands | |
parent | 31aba4c6b768b233d34707bb50c059257634cc0b (diff) | |
download | bundler-de48ef67201f3e693ac5e8a3e57297d6615a3566.tar.gz |
Remove unnecessary `in_app_root_custom` helper
Diffstat (limited to 'spec/commands')
-rw-r--r-- | spec/commands/install_spec.rb | 2 | ||||
-rw-r--r-- | spec/commands/show_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/commands/install_spec.rb b/spec/commands/install_spec.rb index b57d81b10a..3c2ee69f32 100644 --- a/spec/commands/install_spec.rb +++ b/spec/commands/install_spec.rb @@ -504,7 +504,7 @@ RSpec.describe "bundle install with gem sources" do root_dir = tmp("foo[]bar") FileUtils.mkdir_p(root_dir) - in_app_root_custom(root_dir) + Dir.chdir(root_dir) end it "doesn't blow up" do diff --git a/spec/commands/show_spec.rb b/spec/commands/show_spec.rb index 823a806f3e..b21892bae2 100644 --- a/spec/commands/show_spec.rb +++ b/spec/commands/show_spec.rb @@ -143,7 +143,7 @@ RSpec.describe "bundle show", :bundler => "< 3" do context "in a fresh gem in a blank git repo" do before :each do build_git "foo", :path => lib_path("foo") - in_app_root_custom lib_path("foo") + Dir.chdir lib_path("foo") File.open("Gemfile", "w") {|f| f.puts "gemspec" } sys_exec "rm -rf .git && git init" end |