BillableHoursWebApp.Api.Tests.RouteTests.ProjectsControllerRoutesTests.PutWithCompletedProjectIdShouldMapCorrectly C# (CSharp) Method

PutWithCompletedProjectIdShouldMapCorrectly() private method

private PutWithCompletedProjectIdShouldMapCorrectly ( ) : void
return void
        public void PutWithCompletedProjectIdShouldMapCorrectly()
        {
            MyWebApi
                .Routes()
                .ShouldMap("api/projects/complete/5")
                .WithHttpMethod(HttpMethod.Put)
                .To<ProjectsController>(c => c.FinalizeProject(5));
        }