diff options
author | francis <francis> | 2008-09-22 22:08:43 +0000 |
---|---|---|
committer | francis <francis> | 2008-09-22 22:08:43 +0000 |
commit | 945b754b9ecc2d6c002245de58d9870f5beb3961 (patch) | |
tree | 9aeb1085d61c4de9a924867fa22d1d1a8bc70c51 /spec/controllers/track_controller_spec.rb | |
parent | 0a2e4174028a0102779656e9995d15d9513c64b7 (diff) |
Fix up test code, and some bugs relating to splitting out raw_email data.
Diffstat (limited to 'spec/controllers/track_controller_spec.rb')
-rw-r--r-- | spec/controllers/track_controller_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/controllers/track_controller_spec.rb b/spec/controllers/track_controller_spec.rb index 173ffab7e..68064b908 100644 --- a/spec/controllers/track_controller_spec.rb +++ b/spec/controllers/track_controller_spec.rb @@ -2,7 +2,7 @@ require File.dirname(__FILE__) + '/../spec_helper' describe TrackController, "when making a new track on a request" do integrate_views - fixtures :info_requests, :outgoing_messages, :incoming_messages, :info_request_events, :users + fixtures :info_requests, :outgoing_messages, :incoming_messages, :raw_emails, :info_request_events, :users it "should require login when making new track" do get :track_request, :url_title => info_requests(:fancy_dog_request).url_title, :feed => 'track' @@ -22,7 +22,7 @@ end describe TrackController, "when sending alerts for a track" do integrate_views - fixtures :info_requests, :outgoing_messages, :incoming_messages, :info_request_events, :users, :track_things, :track_things_sent_emails + fixtures :info_requests, :outgoing_messages, :incoming_messages, :raw_emails, :info_request_events, :users, :track_things, :track_things_sent_emails it "should send alerts" do TrackMailer.alert_tracks @@ -58,7 +58,7 @@ end describe TrackController, "when viewing RSS feed for a track" do integrate_views - fixtures :info_requests, :outgoing_messages, :incoming_messages, :info_request_events, :users, :track_things, :comments, :public_bodies + fixtures :info_requests, :outgoing_messages, :incoming_messages, :raw_emails, :info_request_events, :users, :track_things, :comments, :public_bodies it "should get the RSS feed" do track_thing = track_things(:track_fancy_dog_request) |