public void PullsVersionAttributeInstead() { var task = new Build.NuSpecUpdateTask(); task.SpecFile = this.FileName; task.SourceAssemblyFile = "RestSharp.Tests.dll"; task.Execute(); Assert.Equal("1.0.0.0", task.Version); }
public void PullsVersionAttributeInstead() { Build.NuSpecUpdateTask task = new Build.NuSpecUpdateTask { SpecFile = FileName, SourceAssemblyFile = "RestSharp.Tests.dll" }; task.Execute(); Assert.AreEqual("1.0.0.0", task.Version); }
public void ReturnsFalse() { Build.NuSpecUpdateTask task = new Build.NuSpecUpdateTask(); Assert.False(task.Execute()); }