summaryrefslogtreecommitdiff
path: root/test/unit/couch_stream_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/couch_stream_test.rb')
-rw-r--r--test/unit/couch_stream_test.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/unit/couch_stream_test.rb b/test/unit/couch_stream_test.rb
index 48b663a..a9de21f 100644
--- a/test/unit/couch_stream_test.rb
+++ b/test/unit/couch_stream_test.rb
@@ -1,12 +1,6 @@
require File.expand_path('../../test_helper.rb', __FILE__)
require 'tapicero/couch_stream'
-# we'll mock this
-module Yajl
- class HttpStream
- end
-end
-
class CouchStreamTest < MiniTest::Unit::TestCase
def setup
@@ -18,7 +12,7 @@ class CouchStreamTest < MiniTest::Unit::TestCase
end
def test_get
- Yajl::HttpStream.expects(:get).
+ Tapicero::JsonStream.expects(:get).
with(@url, :symbolize_keys => true).
yields(stub_hash = stub)
@stream.get(@path, @options) do |hash|