aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/Rakefile
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-07-21 07:35:26 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-07-21 07:35:26 +0900
commit968499c7405576b50040c78c2f65f4540c5f10b7 (patch)
tree4cd7568c833551564bf683b8951145d9d0531926 /actionview/Rakefile
parent05ffe4b328b43e40476e75002d0c543277061a39 (diff)
downloadrails-968499c7405576b50040c78c2f65f4540c5f10b7.tar.gz
rails-968499c7405576b50040c78c2f65f4540c5f10b7.tar.bz2
rails-968499c7405576b50040c78c2f65f4540c5f10b7.zip
Remove log directory in test postprocessing
The "log" is directory. So it is necessary to use `FileUtils.rm_rf`.
Diffstat (limited to 'actionview/Rakefile')
-rw-r--r--actionview/Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/Rakefile b/actionview/Rakefile
index 0fc38e8db4..2328e82d05 100644
--- a/actionview/Rakefile
+++ b/actionview/Rakefile
@@ -47,7 +47,7 @@ namespace :test do
status = $?.to_i
ensure
Process.kill("KILL", pid) if pid
- FileUtils.rm_f("log")
+ FileUtils.rm_rf("log")
end
exit status