updated fluentassertion

This commit is contained in:
kayone
2014-08-24 18:28:41 -07:00
parent 7b2b4794c7
commit 4c8f3724a2
33 changed files with 113 additions and 73 deletions

View File

@@ -89,7 +89,8 @@ namespace NzbDrone.Core.Test.Datastore
var loadedEpisodeFile = Db.Single<Episode>().EpisodeFile.Value;
loadedEpisodeFile.Should().NotBeNull();
loadedEpisodeFile.ShouldHave().AllProperties().But(c => c.DateAdded).But(c => c.Path).EqualTo(episodeFile);
loadedEpisodeFile.ShouldBeEquivalentTo(episodeFile,
options => options.Excluding(c => c.DateAdded).Excluding(c => c.Path));
}
[Test]