updated acceptance test assertion

This commit is contained in:
Tom Gardham-Pallister 2017-02-15 07:51:19 +00:00
parent 8ae8e2d834
commit 219b45e7d0
2 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Ocelot.Controllers

View File

@ -36,6 +36,7 @@ namespace Ocelot.AcceptanceTests
.And(x => _steps.GivenOcelotIsRunning())
.When(x => _steps.WhenIGetUrlOnTheApiGateway("/administration/reroutes"))
.Then(x => _steps.ThenTheStatusCodeShouldBe(HttpStatusCode.OK))
.And(x => _steps.ThenTheResponseBodyShouldBe("hi from re routes controller"))
.BDDfy();
}