test/yao/test_token.rb in yao-0.3.2 vs test/yao/test_token.rb in yao-0.3.3

- old
+ new

@@ -28,12 +28,12 @@ } }) assert { ! t.expired? } end - def test_reflesh - auth_url = "http://endpoint.example.com:12345" + def test_refresh + auth_url = "http://endpoint.example.com:12345/v2.0" username = "udzura" tenant = "example" password = "XXXXXXXX" auth_info = { @@ -56,10 +56,10 @@ assert { t.token == "old_token" } stub_auth_request(auth_url, username, password, tenant) Yao.config.auth_url auth_url - t.reflesh(Yao.default_client.default) + t.refresh(Yao.default_client.default) assert { t.token == "aaaa166533fd49f3b11b1cdce2430000" } end def test_current_tenant_id