Why does Ruby open-uri's open return a StringIO in my unit test, but a FileIO in my controller? Why does Ruby open-uri's open return a StringIO in my unit test, but a FileIO in my controller? ruby-on-rails ruby-on-rails