This commit is contained in:
James Lopez 2016-08-04 13:39:38 +02:00
parent 6a0bbb5aa5
commit 9772cd893e
1 changed files with 1 additions and 1 deletions

View File

@ -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