blob: 84beb3f7681a2c9f617a837788fba1e2620b4830 [file] [log] [blame]
Jon Perritta6ce2c52014-10-06 16:56:18 -05001package gophercloud
2
3import (
4 "testing"
5
6 th "github.com/rackspace/gophercloud/testhelper"
7)
8
9func TestServiceURL(t *testing.T) {
10 c := &ServiceClient{Endpoint: "http://123.45.67.8/"}
11 expected := "http://123.45.67.8/more/parts/here"
12 actual := c.ServiceURL("more", "parts", "here")
13 th.CheckEquals(t, expected, actual)
14}