Exemple #1
0
        public void NeedsShowSync_Should_Return_True_If_Show_Needs_Syncing()
        {
            var show        = new ShowBuilder(Guid.NewGuid().ToString(), "1").Build();
            var needsUpdate = show.NeedsShowSync();

            needsUpdate.Should().BeTrue();
        }
Exemple #2
0
        public void NeedsShowSync_Should_Return_False_If_Show_Already_Synced()
        {
            var show = new ShowBuilder(Guid.NewGuid().ToString(), "1")
                       .AddTvdbSynced(true).Build();
            var needsUpdate = show.NeedsShowSync();

            needsUpdate.Should().BeFalse();
        }
Exemple #3
0
        public void NeedsShowSync_Should_Return_True_If_Show_Failed_Sync()
        {
            var show = new ShowBuilder(Guid.NewGuid().ToString(), "1")
                       .AddTvdbSynced(true)
                       .AddFailedSync(true).Build();
            var needsUpdate = show.NeedsShowSync();

            needsUpdate.Should().BeTrue();
        }