We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f1c7cb commit 57f96fdCopy full SHA for 57f96fd
test/test_upload.rb
@@ -207,7 +207,7 @@ def prepare_directory
207
208
def expect_file(path, data)
209
File.stubs(:directory?).with(path).returns(false)
210
- File.stubs(:exists?).with(path).returns(true)
+ File.stubs(:exist?).with(path).returns(true)
211
file = StringIO.new(data)
212
file.stubs(:stat).returns(stub("stat", :size => data.length))
213
File.stubs(:open).with(path, "rb").returns(file)
0 commit comments