Permalink
Browse files

Fix the tests, whoops.

  • Loading branch information...
1 parent 6532332 commit 566a06a268b3f201cd6e70f6b85f04bd3067592a @dylanegan committed Apr 22, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 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

0 comments on commit 566a06a

Please sign in to comment.