diff options
author | Louise Crow <louise.crow@gmail.com> | 2011-02-17 13:49:42 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-03-10 10:47:44 +0000 |
commit | 8562cb79b97d7f62b8267f102cd9ec8eb73aa8f1 (patch) | |
tree | c389e57053ce96721b20005352bbd08928dc29fe /spec/controllers/track_controller_spec.rb | |
parent | f09146ff3321c57e1b176d47c6dbe0d58b611c41 (diff) |
Reindexing xapian before running track alert spec
Diffstat (limited to 'spec/controllers/track_controller_spec.rb')
-rw-r--r-- | spec/controllers/track_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/track_controller_spec.rb b/spec/controllers/track_controller_spec.rb index c31491375..a37b1ea01 100644 --- a/spec/controllers/track_controller_spec.rb +++ b/spec/controllers/track_controller_spec.rb @@ -37,11 +37,11 @@ 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 ire = info_request_events(:silly_comment_event) |