From 2d205979d6e75f36ea511645b07be1bfd9a57f66 Mon Sep 17 00:00:00 2001 From: Robin Houston Date: Thu, 9 Jun 2011 16:07:04 +0100 Subject: Make sure the :public_body_translation fixture is included everywhere the :public_bodies fixture is, because the PublicBody objects do not work as expected without it. --- spec/models/info_request_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spec/models/info_request_spec.rb') diff --git a/spec/models/info_request_spec.rb b/spec/models/info_request_spec.rb index 59868f647..00ae218da 100644 --- a/spec/models/info_request_spec.rb +++ b/spec/models/info_request_spec.rb @@ -40,7 +40,7 @@ describe InfoRequest do describe " when emailing" do - fixtures :info_requests, :info_request_events, :public_bodies, :users + fixtures :info_requests, :info_request_events, :public_bodies, :public_body_translations, :users before do @info_request = info_requests(:fancy_dog_request) @@ -120,7 +120,7 @@ describe InfoRequest do end describe "when calculating the status" do - fixtures :info_requests, :info_request_events, :holidays, :public_bodies + fixtures :info_requests, :info_request_events, :holidays, :public_bodies, :public_body_translations before do @ir = info_requests(:naughty_chicken_request) @@ -160,7 +160,7 @@ describe InfoRequest do end describe "when calculating the status for a school" do - fixtures :info_requests, :info_request_events, :holidays, :public_bodies + fixtures :info_requests, :info_request_events, :holidays, :public_bodies, :public_body_translations before do @ir = info_requests(:naughty_chicken_request) -- cgit v1.2.3