Skip to content

Commit

Permalink
lint a random file (#2968)
Browse files Browse the repository at this point in the history
  • Loading branch information
osc-bot authored Aug 16, 2023
1 parent 5b736c1 commit f392397
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/dashboard/test/system/preset_apps_navbar_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
require 'application_system_test_case'

class PresetAppsNavbarTest < 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'))
Expand All @@ -18,7 +17,7 @@ def err_header
'save'
end

# the best we can do in this test is stub out BatchConnect::Session#stage
# the best we can do in this test is stub out BatchConnect::Session#stage
# and verify that the error we threw is on the page. The link at least tries to submit.
# TODO: get enough stubs to submit the job and get a 'queued' card to show
test 'preset apps in navbars auto launch' do
Expand All @@ -40,4 +39,4 @@ def err_header

verify_bc_alert('sys/preset_app/choice', err_header, err_msg)
end
end
end

0 comments on commit f392397

Please sign in to comment.