Added branch name to Assembly Info

This commit is contained in:
Keivan Beigi
2017-01-04 12:41:50 -08:00
parent 053c730799
commit a1f112e62f
5 changed files with 54 additions and 3 deletions
@@ -0,0 +1,23 @@
using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Common.EnvironmentInfo;
namespace NzbDrone.Common.Test.EnvironmentInfo
{
[TestFixture]
public class BuildInfoFixture
{
[Test]
public void should_return_version()
{
BuildInfo.Version.Major.Should().BeOneOf(2, 10);
}
[Test]
public void should_get_branch()
{
BuildInfo.Branch.Should().NotBe("unknow");
BuildInfo.Branch.Should().NotBeNullOrWhiteSpace();
}
}
}