1
0
mirror of https://github.com/seejohnrun/haste-client.git synced 2025-12-12 14:55:56 +00:00

Tests working in 1.9.2

This commit is contained in:
John Crepezzi
2013-11-16 10:18:12 -05:00
parent e5a6d39422
commit 3fca7c72c8

View File

@@ -111,7 +111,7 @@ describe Haste::Uploader do
let(:data) { 'hello world' }
let(:path) { '/tmp/real' }
before { File.write(path, data) }
before { File.open(path, 'w') { |f| f.write(data) } }
before do
uploader.should_receive(:upload_raw).with(data) # check