Commit fda72f8b authored by Steve Smith's avatar Steve Smith

Fixed dumb mistake

parent 2276af0b
...@@ -3,16 +3,16 @@ using Xunit; ...@@ -3,16 +3,16 @@ using Xunit;
namespace CleanArchitecture.Tests.Integration.Web namespace CleanArchitecture.Tests.Integration.Web
{ {
public class HomeControllerContactShould : BaseWebTest public class HomeControllerIndexShould : BaseWebTest
{ {
[Fact] [Fact]
public async Task ReturnViewWithCorrectMessage() public async Task ReturnViewWithCorrectMessage()
{ {
var response = await _client.GetAsync("/home/contact"); var response = await _client.GetAsync("/");
response.EnsureSuccessStatusCode(); response.EnsureSuccessStatusCode();
var stringResponse = await response.Content.ReadAsStringAsync(); var stringResponse = await response.Content.ReadAsStringAsync();
Assert.Contains("Your contact page", stringResponse); Assert.Contains("CleanArchitecture.Web", stringResponse);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment