diff options
author | Francis Irving <francis@mysociety.org> | 2009-12-07 22:23:12 +0000 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2009-12-07 22:23:12 +0000 |
commit | 2dc770e026c4523561780b433ce189728890863c (patch) | |
tree | 8b124113098b4823031afa8b4d76295f999b82d4 /spec/models/info_request_spec.rb | |
parent | af9c4ee5daaef5dcc0c2bd220b0d60307460b2a1 (diff) |
Test case for search where a user name is substring of another
Diffstat (limited to 'spec/models/info_request_spec.rb')
-rw-r--r-- | spec/models/info_request_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/models/info_request_spec.rb b/spec/models/info_request_spec.rb index b16ced344..c55407371 100644 --- a/spec/models/info_request_spec.rb +++ b/spec/models/info_request_spec.rb @@ -110,12 +110,11 @@ describe InfoRequest do it "should cope with indexing after item is deleted" do rebuild_xapian_index - verbose = false # delete event from underneath indexing; shouldn't cause error info_request_events(:useless_incoming_message_event).save! info_request_events(:useless_incoming_message_event).destroy - ActsAsXapian.update_index(true, verbose) + update_xapian_index end end |