summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-08-04 13:39:38 +0200
committerJames Lopez <james@jameslopez.es>2016-08-04 13:39:38 +0200
commit9772cd893eba9493037da572df39a3bfb992af59 (patch)
treed54f50c5d136d6687f887b945f29a47b3fc4fd95 /spec
parent6a0bbb5aa58e37a0ad8c3817c4e809143adce1be (diff)
downloadgitlab-ce-9772cd893eba9493037da572df39a3bfb992af59.tar.gz
fix spec
Diffstat (limited to 'spec')
-rw-r--r--spec/services/import_export_clean_up_service_spec.rb2
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