Commit 57b90490 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix test failures

parent 49070883
......@@ -315,9 +315,7 @@ Settings.artifacts['object_store'] ||= Settingslogic.new({})
Settings.artifacts['object_store']['enabled'] = false if Settings.artifacts['object_store']['enabled'].nil?
Settings.artifacts['object_store']['remote_directory'] ||= nil
# Convert upload connection settings to use symbol keys, to make Fog happy
if Settings.artifacts['object_store']['connection']
Settings.artifacts['object_store']['connection'].deep_symbolize_keys!
end
Settings.artifacts['object_store']['connection']&.deep_symbolize_keys!
#
# Registry
......
......@@ -95,7 +95,7 @@ describe ObjectStoreUploader do
context 'when migrating to remote storage' do
let(:new_store) { described_class::REMOTE_STORE }
let!(current_path) { uploader.path }
let!(:current_path) { uploader.path }
it "file does exist" do
expect(File.exist?(current_path)).to eq(true)
......
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