[ARVADOS] updated: 074147b4138f7a29ed9ff054b916ac1856b71e9f

git at public.curoverse.com git at public.curoverse.com
Tue Apr 22 15:18:35 EDT 2014


Summary of changes:
 services/api/config/environments/test.rb.example   |    3 +++
 .../functional/arvados/v1/users_controller_test.rb |    7 +++++--
 2 files changed, 8 insertions(+), 2 deletions(-)

       via  074147b4138f7a29ed9ff054b916ac1856b71e9f (commit)
       via  beef5fec7c77e3de84902969f877f1b4d5b89eef (commit)
      from  3aa0915d0b9b0affd9a784df3d138f0d13df303b (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 074147b4138f7a29ed9ff054b916ac1856b71e9f
Author: Ward Vandewege <ward at curoverse.com>
Date:   Tue Apr 22 15:18:14 2014 -0400

    Fix test that was expecting a (now) incorrect number of links.

diff --git a/services/api/test/functional/arvados/v1/users_controller_test.rb b/services/api/test/functional/arvados/v1/users_controller_test.rb
index 6dc5950..abf1ba1 100644
--- a/services/api/test/functional/arvados/v1/users_controller_test.rb
+++ b/services/api/test/functional/arvados/v1/users_controller_test.rb
@@ -416,8 +416,11 @@ class Arvados::V1::UsersControllerTest < ActionController::TestCase
         'expected same uuid as first create operation'
     assert_equal response_object['email'], 'foo at 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

commit beef5fec7c77e3de84902969f877f1b4d5b89eef
Author: Ward Vandewege <ward at curoverse.com>
Date:   Tue Apr 22 15:16:01 2014 -0400

    Set default value for
    
      I18n.enforce_available_locales
    
    in config/environments/test.rb.example

diff --git a/services/api/config/environments/test.rb.example b/services/api/config/environments/test.rb.example
index ae6234e..5baf09d 100644
--- a/services/api/config/environments/test.rb.example
+++ b/services/api/config/environments/test.rb.example
@@ -43,4 +43,7 @@ Server::Application.configure do
   # No need for SSL while testing
   config.force_ssl = false
 
+  # I18n likes to warn when this variable is not set
+  I18n.enforce_available_locales = true
+
 end

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list