From 6ee0acbc5599c0dc6a3c4ae9860cf924553f8af4 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Fri, 1 Jun 2018 13:54:34 +0200 Subject: Use File.join in DeleteAllRepositories test --- spec/lib/backup/repository_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/lib/backup/repository_spec.rb b/spec/lib/backup/repository_spec.rb index 023bedaaebb..f583b2021a2 100644 --- a/spec/lib/backup/repository_spec.rb +++ b/spec/lib/backup/repository_spec.rb @@ -92,7 +92,7 @@ describe Backup::Repository do end def list_repositories - Dir[SEED_STORAGE_PATH + '/*.git'] + Dir[File.join(SEED_STORAGE_PATH, '*.git')] end end -- cgit v1.2.1