fix spec
This commit is contained in:
parent
6a0bbb5aa5
commit
9772cd893e
|
@ -44,7 +44,7 @@ describe ImportExportCleanUpService, services: true do
|
||||||
dir = File.join(tmpdir, tmp_import_export_folder, 'subfolder')
|
dir = File.join(tmpdir, tmp_import_export_folder, 'subfolder')
|
||||||
FileUtils.mkdir_p(dir)
|
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)
|
yield(dir, files)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue