Beispiel #1
0
        public void clean_deletes_the_packages_folder_in_all_mode()
        {
            var solution = new Solution(new SolutionConfig(){
                SourceFolder = "src"
            }, "directory1");

            var fileSystem = DataMother.MockedFileSystem();

            solution.Clean(fileSystem, CleanMode.all);

            fileSystem.AssertWasCalled(x => x.DeleteDirectory("directory1".ToFullPath(), "src", "packages"));
        }