Add output_is_persistent attribute to job model.
[arvados.git] / services / api / test / functional / arvados / v1 / jobs_controller_test.rb
index f68cbc2dd2467281872adf45cea3bc72a53f6432..7920bce068ff4002ad68afe1f1422fe8640d302f 100644 (file)
@@ -14,6 +14,8 @@ class Arvados::V1::JobsControllerTest < ActionController::TestCase
     new_job = JSON.parse(@response.body)
     assert_not_nil new_job['uuid']
     assert_not_nil new_job['script_version'].match(/^[0-9a-f]{40}$/)
+    # Default: not persistent
+    assert_equal false, new_job['output_is_persistent']
   end
 
   test "normalize output and log uuids when creating job" do