aboutsummaryrefslogtreecommitdiffstats
path: root/spec/fixtures
diff options
context:
space:
mode:
authorfrancis <francis>2008-01-30 09:53:43 +0000
committerfrancis <francis>2008-01-30 09:53:43 +0000
commit4f3a0967da725e447de646b06fbef1c94a31d4be (patch)
tree1d7f92966d595021b0304ce832fe1dd267f9f013 /spec/fixtures
parent5acedd09b79642d58c6de5db872f82198b2f2c73 (diff)
Fix some errors in and found by test stuff.
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/info_requests.yml6
-rw-r--r--spec/fixtures/outgoing_messages.yml20
2 files changed, 25 insertions, 1 deletions
diff --git a/spec/fixtures/info_requests.yml b/spec/fixtures/info_requests.yml
index 53a325caa..fbd964603 100644
--- a/spec/fixtures/info_requests.yml
+++ b/spec/fixtures/info_requests.yml
@@ -5,6 +5,9 @@ fancy_dog_request:
updated_at: 2007-10-11 18:15:57
public_body_id: 2
user_id: 1
+ described_state: awaiting_response
+ awaiting_description: true
+ described_last_incoming_message_id: 1
naughty_chicken_request:
id: 103
title: How much public money is wasted on breeding naughty chickens?
@@ -12,5 +15,8 @@ naughty_chicken_request:
updated_at: 2007-10-13 18:15:57
public_body_id: 2
user_id: 1
+ described_state: awaiting_response
+ awaiting_description: false
+ described_last_incoming_message_id: nil
diff --git a/spec/fixtures/outgoing_messages.yml b/spec/fixtures/outgoing_messages.yml
index 2f72392bd..d4e6bdc13 100644
--- a/spec/fixtures/outgoing_messages.yml
+++ b/spec/fixtures/outgoing_messages.yml
@@ -10,7 +10,25 @@ useless_outgoing_message:
\r\n\
Thanks!\r\n\
\r\n\
- Francis\r\n"
+ Bob\r\n"
last_sent_at: 2007-10-25 10:41:12.686264
created_at: 2007-10-12 01:56:58.586598
+silly_outgoing_message:
+ id: 2
+ info_request_id: 103
+ message_type: initial_request
+ status: sent
+ updated_at: 2007-10-14 01:56:58.586598
+ body: "Hey you!\r\n\
+ \r\n\
+ I would like a complete breakdown of public sector\r\n\
+ spending on chickens by type of chicken. Specifically\r\n
+ I would like to know how much is spent on good \r\n
+ chickens and how much on naughty chickens.\r\n
+ \r\n\
+ Lovingly,\r\n\
+ \r\n\
+ Bob\r\n"
+ last_sent_at: 2007-10-14 10:41:12.686264
+ created_at: 2007-10-14 01:56:58.586598