diff options
author | Azul <azul@riseup.net> | 2012-09-11 13:02:27 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2012-09-11 13:02:27 +0200 |
commit | c0fc5ac5b5d955b1789a58153952e43bb7052b07 (patch) | |
tree | fd9b3e98cd9c75c09b33c4ee8e8af3996309abb4 /test/unit/couch_stream_test.rb | |
parent | c331d70638c35d807128e39a9958cab5ba4eeb25 (diff) |
configuring couchDB the CouchRest way and using that for tracking
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 |