diff options
author | francis <francis> | 2009-01-14 00:43:20 +0000 |
---|---|---|
committer | francis <francis> | 2009-01-14 00:43:20 +0000 |
commit | 5daaf00f05c3bcf8f83f18c1b40cf449d3ab4427 (patch) | |
tree | 7b71435e94e4df787f737c0ac6b0480f3be192cd /spec/controllers/request_controller_spec.rb | |
parent | a1e1d6935c5a4d82ddedbbcf7278320acefb4ea7 (diff) |
Update with new list page defaults.
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r-- | spec/controllers/request_controller_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb index 0e214e473..e54a3dd57 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -1,16 +1,16 @@ require File.dirname(__FILE__) + '/../spec_helper' -describe RequestController, "when listing all requests" do +describe RequestController, "when listing recent requests" do integrate_views fixtures :info_requests, :outgoing_messages, :info_request_events it "should be successful" do - get :list + get :list, :view => 'recent' response.should be_success end it "should render with 'list' template" do - get :list + get :list, :view => 'recent' response.should render_template('list') end @@ -18,7 +18,7 @@ describe RequestController, "when listing all requests" do # XXX probably should load more than one page of requests into db here :) ActsAsXapian.update_index - get :list + get :list, :view => 'recent' # reverse-chronological order assigns[:xapian_object].matches_estimated.should == 2 |