aboutsummaryrefslogtreecommitdiffstats
path: root/spec/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/info_request_events.yml10
-rw-r--r--spec/fixtures/info_requests.yml14
-rw-r--r--spec/fixtures/outgoing_messages.yml11
-rw-r--r--spec/fixtures/public_bodies.yml6
4 files changed, 39 insertions, 2 deletions
diff --git a/spec/fixtures/info_request_events.yml b/spec/fixtures/info_request_events.yml
index 3266ec634..e3e8a4460 100644
--- a/spec/fixtures/info_request_events.yml
+++ b/spec/fixtures/info_request_events.yml
@@ -150,3 +150,13 @@ spam_2_incoming_message_event:
described_state: successful
calculated_state: successful
+external_outgoing_message_event:
+ id: 914
+ params_yaml: "--- \n\
+ :outgoing_message_id: 8\n"
+ outgoing_message_id: 8
+ info_request_id: 109
+ event_type: sent
+ created_at: 2009-01-02 02:23:45.6789100
+ described_state: waiting_response
+ calculated_state: waiting_response
diff --git a/spec/fixtures/info_requests.yml b/spec/fixtures/info_requests.yml
index 33e9a16f2..e4f2287c0 100644
--- a/spec/fixtures/info_requests.yml
+++ b/spec/fixtures/info_requests.yml
@@ -61,7 +61,7 @@ spam_1_request:
title: Cheap v1agra
url_title: spam_1
created_at: 2010-01-01 01:23:45.6789100
- created_at: 2010-01-01 01:23:45.6789100
+ updated_at: 2010-01-01 01:23:45.6789100
public_body_id: 5
user_id: 5
described_state: successful
@@ -72,9 +72,19 @@ spam_2_request:
title: Cheap v1agra
url_title: spam_2
created_at: 2010-01-01 02:23:45.6789100
- created_at: 2010-01-01 02:23:45.6789100
+ updated_at: 2010-01-01 02:23:45.6789100
public_body_id: 6
user_id: 5
described_state: successful
awaiting_description: false
idhash: 173fd005
+external_request:
+ id: 109
+ title: Balalas
+ url_title: balalas
+ external_user_name: Bob Smith
+ external_url: http://www.example.org/request/balala
+ public_body_id: 2
+ described_state: waiting_response
+ awaiting_description: false
+ idhash: a1234567
diff --git a/spec/fixtures/outgoing_messages.yml b/spec/fixtures/outgoing_messages.yml
index d33ca4292..32b322bd7 100644
--- a/spec/fixtures/outgoing_messages.yml
+++ b/spec/fixtures/outgoing_messages.yml
@@ -86,3 +86,14 @@ spam_2_outgoing_message:
updated_at: 2007-01-12 02:56:58.586598
what_doing: normal_sort
+external_outgoing_message:
+ id: 8
+ info_request_id: 109
+ message_type: initial_request
+ status: sent
+ body: "I should like to know about balalas."
+ last_sent_at: 2009-01-12 01:57:58.586598
+ created_at: 2009-01-12 01:56:58.586598
+ updated_at: 2009-01-12 01:56:58.586598
+ what_doing: normal_sort
+
diff --git a/spec/fixtures/public_bodies.yml b/spec/fixtures/public_bodies.yml
index a0893f1e5..367e0fc50 100644
--- a/spec/fixtures/public_bodies.yml
+++ b/spec/fixtures/public_bodies.yml
@@ -10,6 +10,7 @@ geraldine_public_body:
short_name: TGQ
url_name: tgq
created_at: 2007-10-24 10:51:01.161639
+ api_key: 1
humpadink_public_body:
name: "Department for Humpadinking"
first_letter: D
@@ -23,6 +24,7 @@ humpadink_public_body:
url_name: dfh
created_at: 2007-10-25 10:51:01.161639
notes: An albatross told me!!!
+ api_key: 2
forlorn_public_body:
name: "Department of Loneliness"
first_letter: D
@@ -36,6 +38,7 @@ forlorn_public_body:
url_name: lonely
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:
id: 5
version: 1
@@ -49,6 +52,7 @@ silly_walks_public_body:
url_name: msw
created_at: 2007-10-25 10:51:01.161639
notes: You know the one.
+ api_key: 4
sensible_walks_public_body:
id: 6
version: 1
@@ -62,3 +66,5 @@ sensible_walks_public_body:
last_edit_comment: Another stunning innovation from your friendly national government
last_edit_editor: robin
created_at: 2008-10-25 10:51:01.161639
+ api_key: 5
+