[ARVADOS] updated: 355b679d30f9d3f7f7b1619a4b807d18daaf9483

git at public.curoverse.com git at public.curoverse.com
Thu Sep 18 13:38:10 EDT 2014


Summary of changes:
 services/api/test/functional/arvados/v1/jobs_controller_test.rb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

       via  355b679d30f9d3f7f7b1619a4b807d18daaf9483 (commit)
      from  fc2096f2825082d526a0d98323690a09ea9a5889 (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 355b679d30f9d3f7f7b1619a4b807d18daaf9483
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Thu Sep 18 13:38:05 2014 -0400

    3605: Use #each_with_index instead of #each_index

diff --git a/services/api/test/functional/arvados/v1/jobs_controller_test.rb b/services/api/test/functional/arvados/v1/jobs_controller_test.rb
index ab21698..546225e 100644
--- a/services/api/test/functional/arvados/v1/jobs_controller_test.rb
+++ b/services/api/test/functional/arvados/v1/jobs_controller_test.rb
@@ -284,8 +284,7 @@ class Arvados::V1::JobsControllerTest < ActionController::TestCase
     assert_response :success
   end
 
-  [:spectator, :admin].each_index do |i|
-    which_token = [:spectator, :admin][i]
+  [:spectator, :admin].each_with_index do |which_token, i|
     test "get job queue as #{which_token} user" do
       authorize_with which_token
       get :queue

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list