fixed ShouldBeEquivalentTo tests

This commit is contained in:
kayone 2014-08-24 18:45:44 -07:00
parent 3f3cc69da7
commit e53513a575
4 changed files with 6 additions and 6 deletions

View file

@ -62,9 +62,9 @@ namespace NzbDrone.Core.Test.Datastore
public void should_be_able_to_find_by_id()
{
Subject.Insert(_basicType);
Subject.Get(_basicType.Id)
.Should()
.ShouldBeEquivalentTo(_basicType);
var storeObject = Subject.Get(_basicType.Id);
storeObject.ShouldBeEquivalentTo(_basicType, o=>o.IncludingAllRuntimeProperties());
}
[Test]