diff options
author | Robin Houston <robin@lenny.robin> | 2011-06-09 16:07:04 +0100 |
---|---|---|
committer | Robin Houston <robin@lenny.robin> | 2011-06-09 16:07:04 +0100 |
commit | 2d205979d6e75f36ea511645b07be1bfd9a57f66 (patch) | |
tree | 3a9418d27f2e4058730160dd815fe996fecfe194 /spec/models/outgoing_mailer_spec.rb | |
parent | 4d077dc48fb0589dbf401a131d524b23ab0d2258 (diff) |
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.
Diffstat (limited to 'spec/models/outgoing_mailer_spec.rb')
-rw-r--r-- | spec/models/outgoing_mailer_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/outgoing_mailer_spec.rb b/spec/models/outgoing_mailer_spec.rb index 71a46f8f8..3073c5ffd 100644 --- a/spec/models/outgoing_mailer_spec.rb +++ b/spec/models/outgoing_mailer_spec.rb @@ -4,7 +4,7 @@ describe OutgoingMailer, " when working out follow up addresses" do # This is done with fixtures as the code is a bit tangled with the way it # calls TMail. XXX untangle it and make these tests spread out and using # mocks. Put parts of the tests in spec/lib/tmail_extensions.rb - fixtures :info_requests, :incoming_messages, :raw_emails, :public_bodies + fixtures :info_requests, :incoming_messages, :raw_emails, :public_bodies, :public_body_translations it "should parse them right" do ir = info_requests(:fancy_dog_request) |