Replaced deprecated NBuilder calls.

This commit is contained in:
kay.one 2011-10-22 22:39:14 -07:00
commit f52620db70
14 changed files with 114 additions and 113 deletions

View file

@ -25,9 +25,9 @@ namespace NzbDrone.Core.Test.ProviderTests
.Build();
var episodes = Builder<Episode>.CreateListOfSize(2)
.TheFirst(1).Has(s => s.EpisodeId = 12)
.AndTheNext(1).Has(s => s.EpisodeId = 99)
.All().Has(s => s.SeriesId = 5)
.TheFirst(1).With(s => s.EpisodeId = 12)
.TheNext(1).With(s => s.EpisodeId = 99)
.All().With(s => s.SeriesId = 5)
.Build();