test/yao/test_auth.rb in yao-0.3.7 vs test/yao/test_auth.rb in yao-0.3.8

- old
+ new

@@ -85,6 +85,12 @@ Yao.configure do region_name "RegionOne" end end + def test_build_auth_info + auth_info = Yao::Auth.build_auth_info("example", "udzura", "XXXXXXXX") + assert { auth_info[:auth][:tenantName] == "example" } + assert { auth_info[:auth][:passwordCredentials][:username] == "udzura" } + assert { auth_info[:auth][:passwordCredentials][:password] == "XXXXXXXX" } + end end