@@ -81,8 +81,8 @@ var _ = Describe("V1", func() {
8181 PointTo (MatchFields (IgnoreExtras , Fields {"HttpMethod" : Equal (http .MethodGet ), "PathExp" : Equal ("/v1/users/:userId/blobs" )})),
8282 PointTo (MatchFields (IgnoreExtras , Fields {"HttpMethod" : Equal (http .MethodPost ), "PathExp" : Equal ("/v1/users/:userId/blobs" )})),
8383 PointTo (MatchFields (IgnoreExtras , Fields {"HttpMethod" : Equal (http .MethodDelete ), "PathExp" : Equal ("/v1/users/:userId/blobs" )})),
84- PointTo (MatchFields (IgnoreExtras , Fields {"HttpMethod" : Equal (http .MethodPost ), "PathExp" : Equal ("/v1/users/:userId/device-logs " )})),
85- PointTo (MatchFields (IgnoreExtras , Fields {"HttpMethod" : Equal (http .MethodGet ), "PathExp" : Equal ("/v1/users/:userId/device-logs " )})),
84+ PointTo (MatchFields (IgnoreExtras , Fields {"HttpMethod" : Equal (http .MethodPost ), "PathExp" : Equal ("/v1/users/:userId/device_logs " )})),
85+ PointTo (MatchFields (IgnoreExtras , Fields {"HttpMethod" : Equal (http .MethodGet ), "PathExp" : Equal ("/v1/users/:userId/device_logs " )})),
8686 PointTo (MatchFields (IgnoreExtras , Fields {"HttpMethod" : Equal (http .MethodGet ), "PathExp" : Equal ("/v1/blobs/:id" )})),
8787 PointTo (MatchFields (IgnoreExtras , Fields {"HttpMethod" : Equal (http .MethodGet ), "PathExp" : Equal ("/v1/blobs/:id/content" )})),
8888 PointTo (MatchFields (IgnoreExtras , Fields {"HttpMethod" : Equal (http .MethodDelete ), "PathExp" : Equal ("/v1/blobs/:id" )})),
@@ -326,7 +326,7 @@ var _ = Describe("V1", func() {
326326 Context ("ListDeviceLogs" , func () {
327327 BeforeEach (func () {
328328 req .Method = http .MethodGet
329- req .URL .Path = fmt .Sprintf ("/v1/users/%s/device-logs " , userID )
329+ req .URL .Path = fmt .Sprintf ("/v1/users/%s/device_logs " , userID )
330330 })
331331
332332 It ("panics when the response is missing" , func () {
@@ -593,7 +593,7 @@ var _ = Describe("V1", func() {
593593 Context ("CreateDeviceLogs" , func () {
594594 BeforeEach (func () {
595595 req .Method = http .MethodPost
596- req .URL .Path = fmt .Sprintf ("/v1/users/%s/device-logs " , userID )
596+ req .URL .Path = fmt .Sprintf ("/v1/users/%s/device_logs " , userID )
597597 })
598598
599599 It ("panics when the response is missing" , func () {
@@ -615,7 +615,7 @@ var _ = Describe("V1", func() {
615615
616616 When ("the path does not contain a user id" , func () {
617617 BeforeEach (func () {
618- req .URL .Path = "/v1/users//device-logs "
618+ req .URL .Path = "/v1/users//device_logs "
619619 })
620620
621621 It ("responds with bad request and expected error in body" , func () {
@@ -628,7 +628,7 @@ var _ = Describe("V1", func() {
628628
629629 When ("the path contains an invalid user id" , func () {
630630 BeforeEach (func () {
631- req .URL .Path = "/v1/users/invalid/device-logs "
631+ req .URL .Path = "/v1/users/invalid/device_logs "
632632 })
633633
634634 It ("responds with bad request and expected error in body" , func () {
0 commit comments