4253: Use new username to set up repository and VM logins.
authorBrett Smith <brett@curoverse.com>
Wed, 18 Mar 2015 20:00:01 +0000 (16:00 -0400)
committerBrett Smith <brett@curoverse.com>
Wed, 25 Mar 2015 15:21:35 +0000 (11:21 -0400)
commit9cb7b08709aec196d7cd2170ec60134f2253d46b
treef6a2c108d23d70b572d4cbf05252e1046f3e21b5
parent9aa1156989884e2e5d07dba055c1a16aac25b1c3
4253: Use new username to set up repository and VM logins.

The usernames added in 4253 have stricter limits than past usernames
generated to set up a repository and VM login.  Use the new generated
username to avoid a weird disconnect between that and these related
objects.  Do a little cleanup in the tests, including removing some
test parameters that now seem redundant under the new rules.
services/api/app/models/user.rb
services/api/test/unit/user_test.rb