Added the options hash to mkdir in FileUtils #175

wants to merge 1 commit into


None yet
1 participant

rezmo commented Feb 14, 2013

The following code was initially failing:
FileUtils.mkdir tmp_dir, :mode => 0700

So I modified the FileUtils#mkdir function to accept an options hash. The function does nothing with the hash as I don't think a concept of MODE exists in fakefs for a directory, but at least it gets rid of the "wrong number of arguments (2 for 1)" exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment