Commit 9772cd89 authored by James Lopez's avatar James Lopez

fix spec

parent 6a0bbb5a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment