Skip to content

Commit fd057e1

Browse files
committed
Revert "Avoid chdir error in bin/setup test on Ruby master"
This reverts commit a484bd8.
1 parent 3cafe4a commit fd057e1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

railties/test/application/bin_setup_test.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# frozen_string_literal: true
22

33
require "isolation/abstract_unit"
4-
require "chdir_helpers"
54

65
module ApplicationTests
76
class BinSetupTest < ActiveSupport::TestCase
8-
include ActiveSupport::Testing::Isolation, ChdirHelpers
7+
include ActiveSupport::Testing::Isolation
98

109
setup :build_app
1110
teardown :teardown_app
@@ -29,7 +28,7 @@ def test_bin_setup
2928
end
3029

3130
def test_bin_setup_output
32-
chdir(app_path) do
31+
Dir.chdir(app_path) do
3332
# SQLite3 seems to auto-create the database on first checkout.
3433
rails "db:system:change", "--to=postgresql"
3534
rails "db:drop", allow_failure: true

0 commit comments

Comments
 (0)