anchor.diff:      ]}),
       Doc2 = couch_doc:from_json_obj({[
           {<<"_id">>, <<"doc2">>},
  +        {<<"class">>, <<"amphibians">>},
           {<<"value">>, 2}
   
       ]}),
  
positive.code:         }
      }.
  
  should_succeed({From, To}, {_Ctx, {Source, Target}}) ->
      RepObject = {[
          {<<"source">>, db_url(From, Source)},
  
negative.code:     {<<"filters">>, {[
          {<<"testfilter">>, <<"
              function(doc, req){if (doc.class == 'mammal') return true;}
          ">>},
          {<<"queryfilter">>, <<"
              function(doc, req) {
                  if (doc.class && req.query.starts) {
                      return doc.class.indexOf(req.query.starts) === 0;
                  }
                  else {
                      return false;
                  }
              }
          ">>}
      ]}}
  ]}).
  