From 313a75e7b8ff3378655f05892e289a86dac9a1c8 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Thu, 17 Feb 2011 13:49:42 +0000 Subject: Reindexing xapian before running track alert spec --- spec/controllers/track_controller_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spec/controllers/track_controller_spec.rb') diff --git a/spec/controllers/track_controller_spec.rb b/spec/controllers/track_controller_spec.rb index 13c3d4716..3bcda19b0 100644 --- a/spec/controllers/track_controller_spec.rb +++ b/spec/controllers/track_controller_spec.rb @@ -31,6 +31,10 @@ describe TrackController, "when sending alerts for a track" do integrate_views fixtures :info_requests, :outgoing_messages, :incoming_messages, :raw_emails, :info_request_events, :users, :track_things, :track_things_sent_emails include LinkToHelper # for main_url + + before do + rebuild_xapian_index + end it "should send alerts" do # set the time the comment event happened at to within the last week -- cgit v1.2.3