Skip to content

Commit

Permalink
adding test for #65
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwlicious committed Feb 22, 2018
1 parent d263164 commit b8c09ad
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Cake.Incubator.Tests/CustomProjectParserTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,19 @@ public void IsWebApplication_ReturnsFalse_WhenProjectIsOfTypeLibrary()
// assert
webApp.Should().BeFalse();
}

[Fact]
public void IsWebApplication_ReturnsFalse_When2017ProjectIsOfTypeLibrary()
{
// arrange
var sut = valid2017CsProjFile.ParseProjectFile("debug");

// act
var webApp = sut.IsWebApplication();

// assert
webApp.Should().BeFalse();
}

[Fact]
public void IsWebApplication_ReturnsTrue_WhenProjectIsOfTypeWebApplication()
Expand Down

0 comments on commit b8c09ad

Please sign in to comment.