@@ -37,7 +37,7 @@ public void api_descriptions_should_recognize_direct_routes()
3737 var descriptions = apiExplorer . ApiDescriptions ;
3838
3939 // assert
40- descriptions . Single ( ) . Should ( ) . Should ( ) . BeEquivalentTo (
40+ descriptions . Single ( ) . Should ( ) . BeEquivalentTo (
4141 new { HttpMethod = Get , RelativePath = routeTemplate , ActionDescriptor = action } ,
4242 options => options . ExcludingMissingMembers ( ) ) ;
4343 }
@@ -70,7 +70,7 @@ public void api_descriptions_should_ignore_api_for_direct_route_action()
7070 var descriptions = apiExplorer . ApiDescriptions ;
7171
7272 // assert
73- descriptions . Single ( ) . Should ( ) . Should ( ) . BeEquivalentTo (
73+ descriptions . Single ( ) . Should ( ) . BeEquivalentTo (
7474 new { HttpMethod = Get , RelativePath = routeTemplate } ,
7575 options => options . ExcludingMissingMembers ( ) ) ;
7676 }
@@ -124,7 +124,7 @@ public void api_descriptions_should_recognize_composite_routes()
124124 var descriptions = apiExplorer . ApiDescriptions ;
125125
126126 // assert
127- descriptions . Single ( ) . Should ( ) . Should ( ) . BeEquivalentTo (
127+ descriptions . Single ( ) . Should ( ) . BeEquivalentTo (
128128 new { HttpMethod = Get , RelativePath = routeTemplate , ActionDescriptor = action } ,
129129 options => options . ExcludingMissingMembers ( ) ) ;
130130 }
@@ -208,7 +208,7 @@ public void api_descriptions_should_recognize_mixedX2Dcase_parameters()
208208 {
209209 // arrange
210210 var configuration = new HttpConfiguration ( ) ;
211- var routeTemplate = "api/values/{id }" ;
211+ var routeTemplate = "api/values/{Id }" ;
212212 var metadata = new ApiVersionMetadata ( ApiVersionModel . Empty , new ApiVersionModel ( new ApiVersion ( 1 , 0 ) ) ) ;
213213 var controllerDescriptor = new HttpControllerDescriptor ( configuration , "ApiExplorerValues" , typeof ( DuplicatedIdController ) ) ;
214214 var action = new ReflectedHttpActionDescriptor ( controllerDescriptor , typeof ( DuplicatedIdController ) . GetMethod ( "Get" ) )
@@ -225,7 +225,7 @@ public void api_descriptions_should_recognize_mixedX2Dcase_parameters()
225225 var descriptions = apiExplorer . ApiDescriptions ;
226226
227227 // assert
228- descriptions . Single ( ) . Should ( ) . Should ( ) . BeEquivalentTo (
228+ descriptions . Single ( ) . Should ( ) . BeEquivalentTo (
229229 new { HttpMethod = Get , RelativePath = routeTemplate , ActionDescriptor = action } ,
230230 options => options . ExcludingMissingMembers ( ) ) ;
231231 }
0 commit comments