summaryrefslogtreecommitdiff
path: root/spec/lib/backup/artifacts_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/backup/artifacts_spec.rb')
-rw-r--r--spec/lib/backup/artifacts_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/backup/artifacts_spec.rb b/spec/lib/backup/artifacts_spec.rb
index 5a965030b01..102d787a5e1 100644
--- a/spec/lib/backup/artifacts_spec.rb
+++ b/spec/lib/backup/artifacts_spec.rb
@@ -12,7 +12,7 @@ RSpec.describe Backup::Artifacts do
Dir.mktmpdir do |tmpdir|
allow(JobArtifactUploader).to receive(:root) { "#{tmpdir}" }
- expect(backup.app_files_dir).to eq("#{tmpdir}")
+ expect(backup.app_files_dir).to eq("#{File.realpath(tmpdir)}")
end
end
end