defunkt/fakefs — pull request #139 by ToadJamb (2012-06-17 10:37:20+00:00)
Title: File.read accepts multiple parameters.

File.read raises errors if it is called with multiple parameters. I ran across this when using fakefs to handle testing some logic around gem and gemspec manipulation. Gem::Specification.load was calling File.read with a second parameter. The call in the test was actually taken directly from Gem::Specification.load.