X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1bb30a981efa038bf07f139f996eb9d77749fced..e502060ffe4f68d33e2cca8f8d7544ce40d53eb7:/services/api/test/integration/websocket_test.rb diff --git a/services/api/test/integration/websocket_test.rb b/services/api/test/integration/websocket_test.rb index 0822a67a52..a9993b2fc3 100644 --- a/services/api/test/integration/websocket_test.rb +++ b/services/api/test/integration/websocket_test.rb @@ -337,8 +337,6 @@ class WebsocketTest < ActionDispatch::IntegrationTest test "connect, subscribe, ask events starting at seq num" do state = 1 - human = nil - human_ev_uuid = nil authorize_with :active @@ -381,7 +379,6 @@ class WebsocketTest < ActionDispatch::IntegrationTest state = 1 spec = nil spec_ev_uuid = nil - filter_id = nil authorize_with :active @@ -684,7 +681,7 @@ class WebsocketTest < ActionDispatch::IntegrationTest assert_equal 200, d["status"] ActiveRecord::Base.transaction do (1..202).each do - spec = Specimen.create + Specimen.create end end state = 2 @@ -705,8 +702,6 @@ class WebsocketTest < ActionDispatch::IntegrationTest test "connect, subscribe with invalid filter" do state = 1 - human = nil - human_ev_uuid = nil authorize_with :active @@ -722,7 +717,7 @@ class WebsocketTest < ActionDispatch::IntegrationTest when 1 assert_equal 200, d["status"] Specimen.create - human = Human.create + Human.create state = 2 when 2 assert_equal 500, d["status"]