3153: when deriving unique name, look for all can_login links, not just the vm_uuid...
authorradhika <radhika@curoverse.com>
Fri, 22 Aug 2014 15:09:31 +0000 (11:09 -0400)
committerradhika <radhika@curoverse.com>
Fri, 22 Aug 2014 15:09:31 +0000 (11:09 -0400)
commit9624ed0931aac929f0d773dfee8b9e620b9352ad
treef54e2cec2e903f4391c772251805bdff70637634
parentc005c5ab76492b844e84d1c66f75797bd98d0996
3153: when deriving unique name, look for all can_login links, not just the vm_uuid configured. update tests to assert the generated username ends with a number when using a preconfigured username for this link.
services/api/app/models/user.rb
services/api/test/fixtures/links.yml
services/api/test/unit/user_test.rb