urls unit tests
diff --git a/openstack/blockStorage/v1/snapshots/urls_test.go b/openstack/blockStorage/v1/snapshots/urls_test.go
index 1e77fbd..c36227f 100644
--- a/openstack/blockStorage/v1/snapshots/urls_test.go
+++ b/openstack/blockStorage/v1/snapshots/urls_test.go
@@ -1 +1,26 @@
package snapshots
+
+import (
+ "testing"
+
+ "github.com/rackspace/gophercloud"
+ th "github.com/rackspace/gophercloud/testhelper"
+)
+
+const endpoint = "http://localhost:57909"
+
+func endpointClient() *gophercloud.ServiceClient {
+ return &gophercloud.ServiceClient{Endpoint: endpoint}
+}
+
+func TestSnapshotsURL(t *testing.T) {
+ actual := snapshotsURL(endpointClient())
+ expected := endpoint + "snapshots"
+ th.AssertEquals(t, expected, actual)
+}
+
+func TestSnapshotURL(t *testing.T) {
+ actual := snapshotURL(endpointClient(), "foo")
+ expected := endpoint + "snapshots/foo"
+ th.AssertEquals(t, expected, actual)
+}