20300: Update expected content-type in test.
[arvados.git] / services / api / test / functional / arvados / v1 / users_controller_test.rb
index b7d683df29b16df8eeb31b5443252a60b1742be0..8bffac8dd1e1aabc4ead73afcfc577ffdd3c98dd 100644 (file)
@@ -889,7 +889,7 @@ The Arvados team.
    ['dst', :project_viewer_trustedclient]].each do |which_scoped, auth|
     test "refuse to merge with scoped #{which_scoped} token" do
       act_as_system_user do
-        api_client_authorizations(auth).update_attributes(scopes: ["GET /", "POST /", "PUT /"])
+        api_client_authorizations(auth).update(scopes: ["GET /", "POST /", "PUT /"])
       end
       authorize_with(:active_trustedclient)
       post(:merge, params: {