You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
481 B
22 lines
481 B
12 years ago
|
using System;
|
||
|
using FluentAssertions;
|
||
|
using NUnit.Framework;
|
||
|
using NzbDrone.Common.EnvironmentInfo;
|
||
|
using NzbDrone.Test.Common;
|
||
|
|
||
|
namespace NzbDrone.Common.Test.EnvironmentTests
|
||
|
{
|
||
|
[TestFixture]
|
||
|
public class BuildInfoTest : TestBase
|
||
|
{
|
||
|
|
||
|
[TestCase("0.0.0.0")]
|
||
|
[TestCase("1.0.0.0")]
|
||
|
public void Application_version_should_not_be_default(string version)
|
||
|
{
|
||
|
BuildInfo.Version.Should().NotBe(new Version(version));
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|