mirror of
https://github.com/seejohnrun/haste-client.git
synced 2025-12-19 18:11:28 +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(:data) { 'hello world' }
|
||||||
let(:path) { '/tmp/real' }
|
let(:path) { '/tmp/real' }
|
||||||
before { File.write(path, data) }
|
before { File.open(path, 'w') { |f| f.write(data) } }
|
||||||
|
|
||||||
before do
|
before do
|
||||||
uploader.should_receive(:upload_raw).with(data) # check
|
uploader.should_receive(:upload_raw).with(data) # check
|
||||||
|
|||||||
Reference in New Issue
Block a user