[ARVADOS] updated: 56303d3c734fa0ed9d5f077aac60b97596506efc

git at public.curoverse.com git at public.curoverse.com
Mon Jul 14 13:43:03 EDT 2014


Summary of changes:
 services/api/test/unit/job_task_test.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  56303d3c734fa0ed9d5f077aac60b97596506efc (commit)
      from  1b4adbdc0711468971f619527cb250e8b743084b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 56303d3c734fa0ed9d5f077aac60b97596506efc
Author: Brett Smith <brett at curoverse.com>
Date:   Mon Jul 14 13:44:16 2014 -0400

    3113: Make job task test more robust.
    
    Per Tom's feedback in refs #3113.
    I should've made this change before I merged; apologies.

diff --git a/services/api/test/unit/job_task_test.rb b/services/api/test/unit/job_task_test.rb
index 7907b03..6582bee 100644
--- a/services/api/test/unit/job_task_test.rb
+++ b/services/api/test/unit/job_task_test.rb
@@ -10,7 +10,7 @@ class JobTaskTest < ActiveSupport::TestCase
 
   test "assigned qsequence is not overwritten" do
     set_user_from_auth :active
-    task = JobTask.create(qsequence: 99)
+    task = JobTask.create!(qsequence: 99)
     assert_equal(99, task.qsequence)
   end
 end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list