BottomShelf.Host.Specs.Steps.FileSystemSteps.GivenTheDirectoryExists C# (CSharp) Method

GivenTheDirectoryExists() private method

private GivenTheDirectoryExists ( string directory ) : void
directory string
return void
        public void GivenTheDirectoryExists(string directory)
        {
            directory = MakeTestDirectory(directory);

            if(!Directory.Exists(directory))
                Directory.CreateDirectory(directory);
        }