diff options
author | francis <francis> | 2008-04-02 10:33:02 +0000 |
---|---|---|
committer | francis <francis> | 2008-04-02 10:33:02 +0000 |
commit | 02d8846bf7fcb70d6882e1fe60d509896dbf6b95 (patch) | |
tree | 4455b013a7f1b2c3b75d0c07416202732d2c6683 /spec/controllers/request_controller_spec.rb | |
parent | 47eb7e587acd70e798c7c2042335bf335c9e8d99 (diff) |
Force index build in /list test.
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r-- | spec/controllers/request_controller_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb index e6fb9707f..c4fec9236 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -17,6 +17,8 @@ describe RequestController, "when listing all requests" do it "should assign the first page of results" do # XXX probably should load more than one page of requests into db here :) + InfoRequest.update_solr_index + get :list assigns[:search_results].should == [ info_request_events(:silly_outgoing_message_event), # reverse-chronological order |