diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-07-21 07:35:26 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-07-21 07:35:26 +0900 |
commit | 968499c7405576b50040c78c2f65f4540c5f10b7 (patch) | |
tree | 4cd7568c833551564bf683b8951145d9d0531926 /actionview/Rakefile | |
parent | 05ffe4b328b43e40476e75002d0c543277061a39 (diff) | |
download | rails-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/Rakefile | 2 |
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 |