diff --git a/apps/dashboard/test/system/preset_apps_pinned_test.rb b/apps/dashboard/test/system/preset_apps_pinned_test.rb index 9b4e444ecb..6ae26f6078 100644 --- a/apps/dashboard/test/system/preset_apps_pinned_test.rb +++ b/apps/dashboard/test/system/preset_apps_pinned_test.rb @@ -6,11 +6,10 @@ # Pinned apps that _have_ to be stubbed in setup. If these files were combined, # you wouldn't be able to tell what's the navbar entry and which is the pinned app class PresetAppsPinnedTest < ApplicationSystemTestCase - def setup OodAppkit.stubs(:clusters).returns(OodCore::Clusters.load_file('test/fixtures/config/clusters.d')) SysRouter.stubs(:base_path).returns(Rails.root.join('test/fixtures/apps')) - stub_user_configuration({ pinned_apps: ['sys/preset_app/*']}) + stub_user_configuration({ pinned_apps: ['sys/preset_app/*'] }) BatchConnect::Session.any_instance.stubs(:stage).raises(StandardError.new(err_msg)) Router.instance_variable_set('@pinned_apps', nil) end