diff options
author | Francis Irving <francis@mysociety.org> | 2010-06-08 16:22:55 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-06-08 16:22:55 +0100 |
commit | f814452d07d502dea14236a11f3bdafd31e49d3b (patch) | |
tree | 5be0fbf3d8b190b1e6d867879915f28461990777 /spec/models/xapian_spec.rb | |
parent | d67b0bb2ba8afe77a8fd621d3f0dade374a6076c (diff) |
Needs raw_emails so it can get all the file types to index them
Diffstat (limited to 'spec/models/xapian_spec.rb')
-rw-r--r-- | spec/models/xapian_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/models/xapian_spec.rb b/spec/models/xapian_spec.rb index 33d529677..5553b1c9a 100644 --- a/spec/models/xapian_spec.rb +++ b/spec/models/xapian_spec.rb @@ -13,7 +13,7 @@ describe User, " when indexing users with Xapian" do end describe PublicBody, " when indexing public bodies with Xapian" do - fixtures :public_bodies, :incoming_messages, :outgoing_messages + fixtures :public_bodies, :incoming_messages, :outgoing_messages, :raw_emails before(:all) do rebuild_xapian_index @@ -34,7 +34,7 @@ describe PublicBody, " when indexing public bodies with Xapian" do end describe PublicBody, " when indexing requests by body they are to" do - fixtures :public_bodies, :info_request_events, :info_requests + fixtures :public_bodies, :info_request_events, :info_requests, :raw_emails it "should find requests to the body" do rebuild_xapian_index @@ -68,7 +68,7 @@ describe PublicBody, " when indexing requests by body they are to" do end describe User, " when indexing requests by user they are from" do - fixtures :users, :info_request_events, :info_requests, :incoming_messages, :outgoing_messages + fixtures :users, :info_request_events, :info_requests, :incoming_messages, :outgoing_messages, :raw_emails it "should find requests from the user" do rebuild_xapian_index @@ -152,7 +152,7 @@ describe User, " when indexing requests by user they are from" do end describe User, " when indexing comments by user they are by" do - fixtures :users, :info_request_events, :info_requests, :comments, :incoming_messages, :outgoing_messages + fixtures :users, :info_request_events, :info_requests, :comments, :incoming_messages, :outgoing_messages, :raw_emails it "should find requests from the user" do rebuild_xapian_index @@ -186,7 +186,7 @@ describe User, " when indexing comments by user they are by" do end describe InfoRequest, " when indexing requests by their title" do - fixtures :info_request_events, :info_requests, :incoming_messages + fixtures :info_request_events, :info_requests, :incoming_messages, :raw_emails it "should find events for the request" do rebuild_xapian_index |