aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/railtie.rb
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxedconsulting.com>2016-04-03 23:40:27 +0100
committerAndrew White <andrew.white@unboxedconsulting.com>2016-04-03 23:47:05 +0100
commitae2f193c0379453f73ae08a3df541d2cb0ae00e2 (patch)
tree7700dd6aedde1f285727bc2a97411d5f78fff01c /actionpack/lib/action_controller/railtie.rb
parent811fd0a6b47c83cd4f668127bb822dc5cdcfc0f5 (diff)
downloadrails-ae2f193c0379453f73ae08a3df541d2cb0ae00e2.tar.gz
rails-ae2f193c0379453f73ae08a3df541d2cb0ae00e2.tar.bz2
rails-ae2f193c0379453f73ae08a3df541d2cb0ae00e2.zip
Use block form of Dir.mktmpdir to ensure tidy up
If the test run was interrupted in some way then it left temporary directories inside of test causing the git worktree to be in a dirty state. By overriding the run method we can use the block form of Dir.mktmpdir to ensure that the directories are cleaned up no matter which way the test run is exited.
Diffstat (limited to 'actionpack/lib/action_controller/railtie.rb')
0 files changed, 0 insertions, 0 deletions