Permalink
Browse files

Fixing update test.

  • Loading branch information...
sbisbee committed Jul 20, 2012
1 parent caec9a2 commit 950c3150e140c0abcfd68139876b59e02a82bc87
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/SagTest.php
View
@@ -203,7 +203,7 @@ public function test_updateDoc()
$doc->foo = 'foo';
//...send it...
- $this->assertTrue($this->couch->post($doc)->body->ok);
+ $this->assertTrue($this->couch->put($doc->_id, $doc)->body->ok);
//...and get it again
$this->assertEquals($this->couch->get('/1')->body->foo, 'foo');

0 comments on commit 950c315

Please sign in to comment.