assert_response :success
post '/arvados/v1/specimens', {specimen: '{}'}, active_auth
assert_response :success
-
new_uuid = json_response['uuid']
+
+ # Perhaps redundant: confirm the above changes are observable from
+ # here using get(). Otherwise, the assertions below would not be
+ # informative. (Aside from confirming that integration-testing
+ # features work, this confirms that /database/reset didn't somehow
+ # put the database into a "don't persist any changes" mode -- not
+ # that I can think of a way for that to happen.)
get '/arvados/v1/specimens/'+new_uuid, {}, active_auth
assert_response :success
get '/arvados/v1/specimens/'+old_uuid, {}, active_auth