diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-11-22 07:48:10 -0800 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-11-22 07:48:10 -0800 |
commit | fbfebdbe1c5b13f86f92404c3397d6dcb75766ce (patch) | |
tree | 60bade8c36f732feaf3db83f80b630e0ed71edb1 /spec/models/outgoing_mailer_spec.rb | |
parent | a2b383502bb4e78e4fc7aef0b5ca4fee80910157 (diff) | |
parent | 3c70006c1cfeb88ddc72d0f4ad47b03cde54bd08 (diff) |
Merge pull request #275 from jpmckinney/independent-specs
Allow specs to run independently
Diffstat (limited to 'spec/models/outgoing_mailer_spec.rb')
-rw-r--r-- | spec/models/outgoing_mailer_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/outgoing_mailer_spec.rb b/spec/models/outgoing_mailer_spec.rb index c96a3fb74..75c8053b4 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, :public_body_translations + fixtures :public_bodies, :public_body_translations, :public_body_versions, :info_requests, :raw_emails, :incoming_messages, :outgoing_messages, :comments, :info_request_events, :track_things before(:each) do load_raw_emails_data(raw_emails) end @@ -70,7 +70,7 @@ describe OutgoingMailer, " when working out follow up addresses" do end describe OutgoingMailer, "when working out follow up subjects" do - fixtures :info_requests, :incoming_messages, :outgoing_messages, :raw_emails + fixtures :info_requests, :raw_emails, :incoming_messages, :outgoing_messages, :comments, :info_request_events, :track_things before(:each) do load_raw_emails_data(raw_emails) |