From: Tom Clegg Date: Thu, 8 Sep 2016 21:09:26 +0000 (-0400) Subject: 9898: Update test for new response code. X-Git-Tag: 1.1.0~743^2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/23bfb867e544d4c470802ca775da593779bffdc1 9898: Update test for new response code. --- diff --git a/services/api/test/functional/arvados/v1/jobs_controller_test.rb b/services/api/test/functional/arvados/v1/jobs_controller_test.rb index 601f9a7af5..b84c93df08 100644 --- a/services/api/test/functional/arvados/v1/jobs_controller_test.rb +++ b/services/api/test/functional/arvados/v1/jobs_controller_test.rb @@ -390,7 +390,7 @@ class Arvados::V1::JobsControllerTest < ActionController::TestCase test "job lock conflict" do authorize_with :active post :lock, {id: jobs(:running).uuid} - assert_response 403 # forbidden + assert_response 422 # invalid state transition end test 'reject invalid commit in remote repository' do