We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cafe4a commit fd057e1Copy full SHA for fd057e1
railties/test/application/bin_setup_test.rb
@@ -1,11 +1,10 @@
1
# frozen_string_literal: true
2
3
require "isolation/abstract_unit"
4
-require "chdir_helpers"
5
6
module ApplicationTests
7
class BinSetupTest < ActiveSupport::TestCase
8
- include ActiveSupport::Testing::Isolation, ChdirHelpers
+ include ActiveSupport::Testing::Isolation
9
10
setup :build_app
11
teardown :teardown_app
@@ -29,7 +28,7 @@ def test_bin_setup
29
28
end
30
31
def test_bin_setup_output
32
- chdir(app_path) do
+ Dir.chdir(app_path) do
33
# SQLite3 seems to auto-create the database on first checkout.
34
rails "db:system:change", "--to=postgresql"
35
rails "db:drop", allow_failure: true
0 commit comments