diff options
author | tony <tony> | 2009-03-13 11:45:54 +0000 |
---|---|---|
committer | tony <tony> | 2009-03-13 11:45:54 +0000 |
commit | 987a0350240f3da0c48d8dfeebb2ad3870c11d52 (patch) | |
tree | eb19614e8b3f3ae12433400cf9d464724f1011f1 /spec/controllers/general_controller_spec.rb | |
parent | 92b0f3b4c8f62b6a3f0648ba27de11f40c247df0 (diff) |
Call rebuild_xapian_index in more tests to reduce order dependency
Diffstat (limited to 'spec/controllers/general_controller_spec.rb')
-rw-r--r-- | spec/controllers/general_controller_spec.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/controllers/general_controller_spec.rb b/spec/controllers/general_controller_spec.rb index 5390468ee..942f99db2 100644 --- a/spec/controllers/general_controller_spec.rb +++ b/spec/controllers/general_controller_spec.rb @@ -1,10 +1,5 @@ require File.dirname(__FILE__) + '/../spec_helper' -def rebuild_xapian_index - rebuild_name = File.dirname(__FILE__) + '/../../script/rebuild-xapian-index' - Kernel.system(rebuild_name) or raise "failed to launch rebuild-xapian-index" -end - describe GeneralController, "when searching" do integrate_views fixtures :users, :outgoing_messages, :incoming_messages, :raw_emails, :info_requests, :info_request_events, :public_bodies, :comments |