aboutsummaryrefslogtreecommitdiffstats
path: root/guides/rails_guides/helpers.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2015-12-16 12:02:12 -0700
committerSean Griffin <sean@seantheprogrammer.com>2015-12-16 12:03:40 -0700
commitf0f4f543c82db02d936df63215e2e95c3f871521 (patch)
treec0f270b80af8e3c0bc2c7bc7d69d06aff1eb04c0 /guides/rails_guides/helpers.rb
parentb1c19eb05299fbae2a80beb4abacacc4b5340776 (diff)
downloadrails-f0f4f543c82db02d936df63215e2e95c3f871521.tar.gz
rails-f0f4f543c82db02d936df63215e2e95c3f871521.tar.bz2
rails-f0f4f543c82db02d936df63215e2e95c3f871521.zip
Fix test failure on Windows
When this test was run on Windows, the database file would still be in use, and `File.unlink` would fail. This would cause the temp directory to be unable to be removed, and error out. By disconnecting the connection when finished, we can avoid this error.
Diffstat (limited to 'guides/rails_guides/helpers.rb')
0 files changed, 0 insertions, 0 deletions