aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2012-09-12 18:40:40 +0100
committerLouise Crow <louise.crow@gmail.com>2012-09-12 18:40:40 +0100
commit1ef24aed444d811b3d33b0840067722248f09c4f (patch)
treefb009bc4ca3a14d939d9abcd51654882d78c619b
parent63f76f802285701f4d3c5d0b0e5e915067bc6063 (diff)
Add appropriate counter caches for public body fixtures.
-rw-r--r--spec/fixtures/public_bodies.yml14
1 files changed, 9 insertions, 5 deletions
diff --git a/spec/fixtures/public_bodies.yml b/spec/fixtures/public_bodies.yml
index 367e0fc50..615c4bcb6 100644
--- a/spec/fixtures/public_bodies.yml
+++ b/spec/fixtures/public_bodies.yml
@@ -1,4 +1,4 @@
-geraldine_public_body:
+geraldine_public_body:
name: The Geraldine Quango
first_letter: T
updated_at: 2007-10-24 10:51:01.161639
@@ -11,7 +11,8 @@ geraldine_public_body:
url_name: tgq
created_at: 2007-10-24 10:51:01.161639
api_key: 1
-humpadink_public_body:
+ info_requests_count: 4
+humpadink_public_body:
name: "Department for Humpadinking"
first_letter: D
updated_at: 2007-10-25 10:51:01.161639
@@ -25,6 +26,7 @@ humpadink_public_body:
created_at: 2007-10-25 10:51:01.161639
notes: An albatross told me!!!
api_key: 2
+ info_requests_count: 2
forlorn_public_body:
name: "Department of Loneliness"
first_letter: D
@@ -39,7 +41,8 @@ forlorn_public_body:
created_at: 2011-01-26 14:11:02.12345
notes: A very lonely public body that no one has corresponded with
api_key: 3
-silly_walks_public_body:
+ info_requests_count: 0
+silly_walks_public_body:
id: 5
version: 1
name: "Ministry of Silly Walks"
@@ -53,7 +56,8 @@ silly_walks_public_body:
created_at: 2007-10-25 10:51:01.161639
notes: You know the one.
api_key: 4
-sensible_walks_public_body:
+ info_requests_count: 2
+sensible_walks_public_body:
id: 6
version: 1
name: "Ministry of Sensible Walks"
@@ -67,4 +71,4 @@ sensible_walks_public_body:
last_edit_editor: robin
created_at: 2008-10-25 10:51:01.161639
api_key: 5
-
+ info_requests_count: 1