Permalink
Browse files

[#120] adds mocks

  • Loading branch information...
1 parent add3455 commit 1dfe8a86de38893b1290218bece38d3777b21958 @dscape committed Jan 3, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 tests/fixtures/design/query.json
@@ -31,6 +31,12 @@
, { "path" : "/design_query/_design/people/_view/by_name_and_city?key=%5B%22Derek%22%2C%22San%20Francisco%22%5D"
, "response" : "{\"total_rows\":3,\"offset\":0,\"rows\":[\r\n{\"id\":\"p_derek\",\"key\":[\"Derek\",\"San Francisco\"],\"value\":\"p_derek\"}\r\n]}\n"
}
+, { "path" : "/design_query/_design/people/_view/by_name_and_city?key=%5B%22Derek%22%2C%22San%20Francisco%22%5D"
+ , "response" : "{\"total_rows\":3,\"offset\":0,\"rows\":[\r\n{\"id\":\"p_derek\",\"key\":[\"Derek\",\"San Francisco\"],\"value\":\"p_derek\"}\r\n]}\n"
+ }
+, { "path" : "/design_query/_design/people/_view/by_name_and_city?key=%5B%22Derek%22%2C%22San%20Francisco%22%5D"
+ , "response" : "{\"total_rows\":3,\"offset\":0,\"rows\":[\r\n{\"id\":\"p_derek\",\"key\":[\"Derek\",\"San Francisco\"],\"value\":\"p_derek\"}\r\n]}\n"
+ }
, { "method" : "delete"
, "path" : "/design_query"
, "status" : 200

0 comments on commit 1dfe8a8

Please sign in to comment.