Commit 9da4461b authored by Brandon Labuschagne's avatar Brandon Labuschagne

Merge branch 'sh-stub-metrics-folder-frontend-fixtures-gen' into 'master'

Fix frontend fixtures failing when metrics dir does not exist

See merge request gitlab-org/gitlab!78704
parents 32010af4 d6fd0b03
...@@ -13,6 +13,7 @@ RSpec.describe Admin::ApplicationSettingsController, '(JavaScript fixtures)', ty ...@@ -13,6 +13,7 @@ RSpec.describe Admin::ApplicationSettingsController, '(JavaScript fixtures)', ty
before do before do
stub_env('IN_MEMORY_APPLICATION_SETTINGS', 'false') stub_env('IN_MEMORY_APPLICATION_SETTINGS', 'false')
allow(Gitlab::Metrics).to receive(:metrics_folder_present?).and_return(true)
sign_in(admin) sign_in(admin)
enable_admin_mode!(admin) enable_admin_mode!(admin)
end end
......
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