Ejemplo n.º 1
0
        public void CheckFileSave_WithDirectory_SetsHasDirectoriesToSaveToTrue()
        {
            const string directory = "diretory/to/save/to";

            var dobermanConfiguration = new DobermanConfiguration();
            dobermanConfiguration.CheckFileSave(directory);

            Assert.That(dobermanConfiguration.HasDirectoriesToSave, Is.True);
        }
Ejemplo n.º 2
0
        public void CheckFileSave_WithDirectory_AddsToDirectories()
        {
            const string directory = "diretory/to/save/to";

            var dobermanConfiguration = new DobermanConfiguration();
            dobermanConfiguration.CheckFileSave(directory);

            Assert.That(dobermanConfiguration.Directories.Contains(directory), Is.True);
        }