defunkt/fakefs — pull request #158 by sometimesfood (2012-11-24 19:28:39+00:00)
Title: FileUtils.mv should overwrite files

`FakeFS::FileUtils.mv` should overwrite files, but currently doesn't:

```ruby
FakeFS do
File.open('first', 'w') { |f| f.write 'content first' }
File.open('second', 'w') { |f| f.write 'content second' }
FileUtils.mv('first', 'second')

File.read('second') # should return "content first"
# => "content second"
end
```

This commit changes FakeFS::FileUtils.mv so that target files are overwritten correctly.