diff options
Diffstat (limited to 'test/unit/couch_stream_test.rb')
-rw-r--r-- | test/unit/couch_stream_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/couch_stream_test.rb b/test/unit/couch_stream_test.rb index 438049b..af5a34e 100644 --- a/test/unit/couch_stream_test.rb +++ b/test/unit/couch_stream_test.rb @@ -10,9 +10,9 @@ end class CouchStreamTest < MiniTest::Unit::TestCase def setup - @config = stub(:server => "http://server", :database => "database") - @stream = CouchStream.new(@config) - @url = "http://server/database/_changes?c=d&a=b" + @root = "http://server/database" + @stream = CouchStream.new(@root) + @url = @root + "/_changes?a=b&c=d" @path = "_changes" @options = {:a => :b, :c => :d} end |