Add create subnet operation
diff --git a/openstack/networking/v2/subnets/urls_tests.go b/openstack/networking/v2/subnets/urls_tests.go
index 95b179f..336e2fe 100644
--- a/openstack/networking/v2/subnets/urls_tests.go
+++ b/openstack/networking/v2/subnets/urls_tests.go
@@ -24,3 +24,9 @@
expected := Endpoint + "v2.0/subnets/foo"
th.AssertEquals(t, expected, actual)
}
+
+func TestCreateURL(t *testing.T) {
+ actual := CreateURL(EndpointClient())
+ expected := Endpoint + "v2.0/subnets"
+ th.AssertEquals(t, expected, actual)
+}