aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/request_controller_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r--spec/controllers/request_controller_spec.rb2
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