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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user