Fix flaky tests related to file creation (#28248)
This commit is contained in:
parent
af66d3d836
commit
658ad7a6ca
2 changed files with 11 additions and 5 deletions
|
@ -12,7 +12,7 @@ describe PostDeploymentMigrationGenerator, type: :generator do
|
|||
include FileUtils
|
||||
|
||||
tests described_class
|
||||
destination File.expand_path('../../tmp', __dir__)
|
||||
destination Rails.root.join('tmp', 'generator-test')
|
||||
before { prepare_destination }
|
||||
after { rm_rf(destination_root) }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue