fix spec
This commit is contained in:
parent
6a0bbb5aa5
commit
9772cd893e
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ describe ImportExportCleanUpService, services: true do
|
|||
dir = File.join(tmpdir, tmp_import_export_folder, 'subfolder')
|
||||
FileUtils.mkdir_p(dir)
|
||||
|
||||
files = FileUtils.touch(file_list(dir) + [dir], mtime: mtime)
|
||||
files = FileUtils.touch(file_list(dir) + [dir], mtime: mtime.to_time)
|
||||
|
||||
yield(dir, files)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue