aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/request_controller_spec.rb
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-09-06 11:08:28 +0100
committerFrancis Irving <francis@mysociety.org>2010-09-06 11:08:28 +0100
commit62bea560d436fab530bf0e39745da8b75bfff4f1 (patch)
treea75dea625acb824d29a27d243bb8fe6f6c92a7d9 /spec/controllers/request_controller_spec.rb
parentca8ecce359b254d9e54d51f776e73fbb7d94c8a8 (diff)
Changed name of variable.
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r--spec/controllers/request_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb
index b0ea80705..2b1531464 100644
--- a/spec/controllers/request_controller_spec.rb
+++ b/spec/controllers/request_controller_spec.rb
@@ -21,7 +21,7 @@ describe RequestController, "when listing recent requests" do
with([InfoRequestEvent],"variety:sent", "created_at", anything, anything, anything, anything).
and_return((1..25).to_a)
get :list, :view => 'recent'
- assigns[:xapian_object].size.should == 25
+ assigns[:list_results].size.should == 25
end
end