diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-01-17 12:55:23 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-01-17 12:55:23 +0000 |
commit | a1a6e8b94d8f3fea9ef200948a77db0f382e8c4d (patch) | |
tree | 03d5950e034da9e2dd74727621718640e3c21393 /spec/controllers/request_controller_spec.rb | |
parent | 4fbeed80c636528fd42e280a83a88ce394993548 (diff) |
Test belonging to commit a39f71ee21739eb754688f185c59c3a7f209aaa
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r-- | spec/controllers/request_controller_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb index dcdacc29c..86665a793 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -12,12 +12,12 @@ describe RequestController, "when listing recent requests" do end it "should be successful" do - get :list, :view => 'recent' + get :list, :view => 'all' response.should be_success end it "should render with 'list' template" do - get :list, :view => 'recent' + get :list, :view => 'all' response.should render_template('list') end @@ -58,7 +58,7 @@ describe RequestController, "when listing recent requests" do InfoRequest.should_receive(:full_search). with([InfoRequestEvent]," (variety:sent OR variety:followup_sent OR variety:response OR variety:comment)", "created_at", anything, anything, anything, anything). and_return(xap_results) - get :list, :view => 'recent' + get :list, :view => 'all' assigns[:list_results].size.should == 25 end end |