Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix the tests, whoops.

  • Loading branch information...
commit 566a06a268b3f201cd6e70f6b85f04bd3067592a 1 parent 6532332
Dylan Egan authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/client_test.rb
8 test/client_test.rb
View
@@ -41,14 +41,14 @@ def test_simple_getdir
def test_simple_set
exp = write_response(Response.new(:rev => 10))
- assert_equal exp.first, @client.set('/foo', 'bar')
- assert_equal [Request.new(:verb => SET, :tag => 0, :path => '/foo', :value => 'bar')], @connection.sent
+ assert_equal exp.first, @client.set('/foo', 'bar', 0)
+ assert_equal [Request.new(:verb => SET, :tag => 0, :path => '/foo', :value => 'bar', :rev => 0)], @connection.sent
end
def test_simple_del
exp = write_response(Response.new(:flags => 1|2))
- assert_equal exp.first, @client.del('/foo')
- assert_equal [Request.new(:verb => DEL, :tag => 0, :path => '/foo')], @connection.sent
+ assert_equal exp.first, @client.del('/foo', 0)
+ assert_equal [Request.new(:verb => DEL, :tag => 0, :path => '/foo', :rev => 0)], @connection.sent
end
def test_simple_walk
Please sign in to comment.
Something went wrong with that request. Please try again.