aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/xapian_spec.rb
diff options
context:
space:
mode:
authorlouise <louise>2009-04-27 09:14:01 +0000
committerlouise <louise>2009-04-27 09:14:01 +0000
commit0d14813bbcd42eef5a09ae080cdd2b149f523d12 (patch)
treea3a57b9cea7248280da47e7a043d468491cdc3a1 /spec/models/xapian_spec.rb
parent6cb3d1c969fb86d7d3be31ae94a0acc3baf834e5 (diff)
Text change to encourage people to update the status of old requests
Diffstat (limited to 'spec/models/xapian_spec.rb')
-rw-r--r--spec/models/xapian_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/xapian_spec.rb b/spec/models/xapian_spec.rb
index 7d7e7f6c1..7a7112eb1 100644
--- a/spec/models/xapian_spec.rb
+++ b/spec/models/xapian_spec.rb
@@ -96,7 +96,7 @@ describe User, " when indexing requests by user they are from" do
u.name = 'Robert Smith'
u.save!
u.url_name.should == 'robert_smith'
- ActsAsXapian.update_index(true, verbose) # true = flush to disk
+ ActsAsXapian.update_index(flush_to_disk=true, verbose)
# check we get results expected
xapian_object = InfoRequest.full_search([InfoRequestEvent], "requested_by:bob_smith", 'created_at', true, nil, 100, 1)