1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Proofreading

This commit is contained in:
Jeffrey Guenther 2017-11-18 17:30:26 -08:00
parent 6aac8fa3ec
commit ed8b299ec0

View file

@ -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 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 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 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 here ensures that all connections created during the test are complete and
you won't get an error from ActiveStorage saying it can't find a file. you won't receive an error from ActiveStorage saying it can't find a file.
``` ruby ``` ruby
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase class ApplicationSystemTestCase < ActionDispatch::SystemTestCase