mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Proofreading
This commit is contained in:
parent
6aac8fa3ec
commit
ed8b299ec0
1 changed files with 2 additions and 2 deletions
|
@ -338,8 +338,8 @@ Clean up Stored Files Store During System Tests
|
|||
System tests clean up test data by rolling back a transaction. Because destroy
|
||||
is never called on an object, the attached files are never cleaned up. If you
|
||||
want to clear the files, you can do it in an `after_teardown` callback. Doing it
|
||||
here ensures that all connections to created during the test are complete and
|
||||
you won't get an error from ActiveStorage saying it can't find a file.
|
||||
here ensures that all connections created during the test are complete and
|
||||
you won't receive an error from ActiveStorage saying it can't find a file.
|
||||
|
||||
``` ruby
|
||||
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
|
||||
|
|
Loading…
Reference in a new issue