We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standard lib FileUtils.mv takes an options hash as a third argument, FakeFS bombs on this:
With real FileUtils:
irb(main):005:0> FileUtils.mv '/tmp/foo', '/tmp/bar', :force => true => 0
With FakeFS
irb(main):006:0> FileUtils.mv '/tmp/foo', '/tmp/bar', :force => true ArgumentError: wrong number of arguments (3 for 2)
http://ruby-doc.org/core/classes/FileUtils.html#M004330
The text was updated successfully, but these errors were encountered:
FileUtils.mv accepts options. Closes fakefs#35.
c2a9c13
No branches or pull requests
Standard lib FileUtils.mv takes an options hash as a third argument, FakeFS bombs on this:
With real FileUtils:
With FakeFS
http://ruby-doc.org/core/classes/FileUtils.html#M004330
The text was updated successfully, but these errors were encountered: