diff options
author | Francis Irving <francis@mysociety.org> | 2010-05-19 17:21:02 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-05-19 17:21:02 +0100 |
commit | 5f1539c21005463164b626f51a235f48e1ff254a (patch) | |
tree | 04d9db97b46d1293fb18562f143cec219c7b5630 | |
parent | 8aa2a33c3ada88ac9f36dda33862eafc92e16b72 (diff) |
Some more fixtures (which weren't needed if the tests are run in a
certain order, but are in other orders)
-rw-r--r-- | spec/models/xapian_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/xapian_spec.rb b/spec/models/xapian_spec.rb index 8b63eb465..33d529677 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 + fixtures :public_bodies, :incoming_messages, :outgoing_messages before(:all) 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 + fixtures :users, :info_request_events, :info_requests, :incoming_messages, :outgoing_messages 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 + fixtures :users, :info_request_events, :info_requests, :comments, :incoming_messages, :outgoing_messages it "should find requests from the user" do rebuild_xapian_index |