Skip to content

Commit 57f96fd

Browse files
Klaus Badeltklausbadelt
authored andcommitted
fix failing test since Pull Request #42
1 parent 7f1c7cb commit 57f96fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_upload.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def prepare_directory
207207

208208
def expect_file(path, data)
209209
File.stubs(:directory?).with(path).returns(false)
210-
File.stubs(:exists?).with(path).returns(true)
210+
File.stubs(:exist?).with(path).returns(true)
211211
file = StringIO.new(data)
212212
file.stubs(:stat).returns(stub("stat", :size => data.length))
213213
File.stubs(:open).with(path, "rb").returns(file)

0 commit comments

Comments
 (0)