Revert "Avoid chdir error in bin/setup test on Ruby master"
This reverts commit a484bd807e
.
This commit is contained in:
parent
3cafe4ad2f
commit
fd057e1195
|
@ -1,11 +1,10 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require "isolation/abstract_unit"
|
||||
require "chdir_helpers"
|
||||
|
||||
module ApplicationTests
|
||||
class BinSetupTest < ActiveSupport::TestCase
|
||||
include ActiveSupport::Testing::Isolation, ChdirHelpers
|
||||
include ActiveSupport::Testing::Isolation
|
||||
|
||||
setup :build_app
|
||||
teardown :teardown_app
|
||||
|
@ -29,7 +28,7 @@ module ApplicationTests
|
|||
end
|
||||
|
||||
def test_bin_setup_output
|
||||
chdir(app_path) do
|
||||
Dir.chdir(app_path) do
|
||||
# SQLite3 seems to auto-create the database on first checkout.
|
||||
rails "db:system:change", "--to=postgresql"
|
||||
rails "db:drop", allow_failure: true
|
||||
|
|
Loading…
Reference in New Issue