Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
relf committed Jan 21, 2020
1 parent f365583 commit 06f3ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/controllers/api/v1/connections_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ class Api::V1::ConnectionsControllerTest < ActionDispatch::IntegrationTest

def _assert_connection_update(conn, conn_to_test)
attrs = [:name, :type, :shape, :units, :desc, :active]
values = ["test", "Integer", "(1, 2)", "m", "test description", false]
values = ["test", "Integer", "(1,)", "m", "test description", false]
update_attrs = attrs.zip(values).to_h
update_attrs[:parameter_attributes] = { init: "[[1,2]]", lower: "0", upper: "10" }
update_attrs[:scaling_attributes] = { ref: "[[1,2]]", ref0: "100", res_ref: "1e-6" }
Expand Down

0 comments on commit 06f3ad3

Please sign in to comment.