diff options
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 |