diff options
-rw-r--r-- | spec/services/import_export_clean_up_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/import_export_clean_up_service_spec.rb b/spec/services/import_export_clean_up_service_spec.rb index 130b9fc4b82..81b1d327696 100644 --- a/spec/services/import_export_clean_up_service_spec.rb +++ b/spec/services/import_export_clean_up_service_spec.rb @@ -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 |