14812: First pass migrating tests.
[arvados.git] / apps / workbench / test / integration / websockets_test.rb
index 38917f05ae3ad60213afaaae9c2196df706022b7..a79220a8870095cb70315f088dab5ca7bb5c4743 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 require 'integration_helper'
 
 class WebsocketTest < ActionDispatch::IntegrationTest
@@ -211,7 +215,7 @@ class WebsocketTest < ActionDispatch::IntegrationTest
     visit page_with_token("active", "/jobs/#{job['uuid']}\#Log")
 
     # Expect "all" historic log records because we have less than
-    # default Rails.configuration.running_job_log_records_to_fetch count
+    # default Rails.configuration.Workbench.RunningJobLogRecordsToFetch
     assert_text 'Historic log message'
 
     # Create new log record and expect it to show up in log tab
@@ -224,7 +228,7 @@ class WebsocketTest < ActionDispatch::IntegrationTest
 
   test "test running job with too many previous log records" do
     max = 5
-    Rails.configuration.running_job_log_records_to_fetch = max
+    Rails.configuration.Workbench.RunningJobLogRecordsToFetch = max
     job = api_fixture("jobs")['running']
 
     # Create max+1 log records