20300: Change deprecated update_attributes to update.
[arvados.git] / apps / workbench / test / integration / ajax_errors_test.rb
index b3b1f1f57ae9d3d9eb511581d5b700571f79646a..40e7f9ea8f90909abe6e0ab19895a95b2487d973 100644 (file)
@@ -38,7 +38,7 @@ class AjaxErrorsTest < ActionDispatch::IntegrationTest
       # Go behind Workbench's back to expire the "active" token.
       token = api_fixture('api_client_authorizations')['active']['api_token']
       auth = ApiClientAuthorization.find(token)
-      auth.update_attributes(expires_at: '1999-12-31T23:59:59Z')
+      auth.update(expires_at: '1999-12-31T23:59:59Z')
     end
     click_link "Subprojects"
     wait_for_ajax