Ejemplo n.º 1
0
        public void empty_directories_are_created()
        {
            Directory.Exists(Temp("chunky")).Should(Be.False);

            pp.ProcessDirectory(Example("PP", "empty-dirs"));

            Directory.Exists(Temp("chunky")).Should(Be.True);
            Directory.Exists(Temp("chunky", "bacon")).Should(Be.True);
            Directory.Exists(Temp("chunky", "bacon", "and")).Should(Be.True);
            Directory.Exists(Temp("chunky", "bacon", "and", "foxes")).Should(Be.True);
            Directory.Exists(Temp("hello")).Should(Be.True);
            Directory.Exists(Temp("hello", "there")).Should(Be.True);
        }