Fix test that was expecting a (now) incorrect number of links.
authorWard Vandewege <ward@curoverse.com>
Tue, 22 Apr 2014 19:18:14 +0000 (15:18 -0400)
committerWard Vandewege <ward@curoverse.com>
Tue, 22 Apr 2014 19:18:14 +0000 (15:18 -0400)
services/api/test/functional/arvados/v1/users_controller_test.rb

index 6dc5950dd81a18f32a7ad5175d5b1defc06fea65..abf1ba13758270eef37fa5b9eea2f4642b460387 100644 (file)
@@ -416,8 +416,11 @@ class Arvados::V1::UsersControllerTest < ActionController::TestCase
         'expected same uuid as first create operation'
     assert_equal response_object['email'], 'foo@example.com', 'expected given email'
 
-    # +1 extra login link +1 extra system_group link pointing to the new User
-    verify_num_links @all_links_at_start, 6
+    # +1 extra can_read 'all users' group link
+    # +1 extra system_group can_manage link pointing to the new User
+    # +1 extra can_login permission link
+    # no repo link, no vm link
+    verify_num_links @all_links_at_start, 7
   end
 
   test "setup user with openid prefix" do