projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
14988: Fixes CSS syntax error on Jobs controller tests.
[arvados.git]
/
apps
/
workbench
/
test
/
controllers
/
workflows_controller_test.rb
diff --git
a/apps/workbench/test/controllers/workflows_controller_test.rb
b/apps/workbench/test/controllers/workflows_controller_test.rb
index cb298f487372be1fc6abaf6ece87e991d80385ba..0877e59328dbe6454460b7bbf09f5cd1d739b1d9 100644
(file)
--- a/
apps/workbench/test/controllers/workflows_controller_test.rb
+++ b/
apps/workbench/test/controllers/workflows_controller_test.rb
@@
-1,8
+1,12
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
require 'test_helper'
class WorkflowsControllerTest < ActionController::TestCase
test "index" do
require 'test_helper'
class WorkflowsControllerTest < ActionController::TestCase
test "index" do
- get :index,
{},
session_for(:active)
+ get :index,
params: {}, session:
session_for(:active)
assert_response :success
assert_includes @response.body, 'Valid workflow with no definition yaml'
end
assert_response :success
assert_includes @response.body, 'Valid workflow with no definition yaml'
end
@@
-12,7
+16,7
@@
class WorkflowsControllerTest < ActionController::TestCase
wf = api_fixture('workflows')['workflow_with_input_specifications']
wf = api_fixture('workflows')['workflow_with_input_specifications']
- get :show,
{id: wf['uuid']},
session_for(:active)
+ get :show,
params: {id: wf['uuid']}, session:
session_for(:active)
assert_response :success
assert_includes @response.body, "a short label for this parameter (optional)"
assert_response :success
assert_includes @response.body, "a short label for this parameter (optional)"