Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[minor] re-add check to `rev` in att#update

  • Loading branch information...
commit 5dcb828b3a065f470d09e27e40c9d67bd0650691 1 parent 3a8e86b
@dscape authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  tests/att/update.js
View
1  tests/att/update.js
@@ -23,6 +23,7 @@ specify("att_update:test", timeout, function (assert) {
function(error, hello) {
assert.equal(error, undefined, "Should store hello");
assert.equal(hello.ok, true, "Response should be ok");
+ assert.ok(hello.rev, "Should have a revision number");
db.attachment.insert("new", "att", buffer, "image/bmp",
{ rev: hello.rev }, function (error, bmp) {
assert.equal(error, undefined, "Should store the pixel");
Please sign in to comment.
Something went wrong with that request. Please try again.