aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/user_controller_spec.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-01-13 13:28:23 +0000
committerSeb Bacon <seb.bacon@gmail.com>2012-01-13 13:28:23 +0000
commit07068037e9b0ac8de80a9eae36a323689c83139d (patch)
treefc910d2304471a54ff1f08ec5ba58fcc6c56e4b6 /spec/controllers/user_controller_spec.rb
parent08dd56bac73ce83fcb12e4776b32c4e0ce75545a (diff)
Fix bug introduced in cec2c545e0a10e0641c4ee67839c88d872b394b8, related to issue #343.
Diffstat (limited to 'spec/controllers/user_controller_spec.rb')
-rw-r--r--spec/controllers/user_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/user_controller_spec.rb b/spec/controllers/user_controller_spec.rb
index 30ad61706..0cf574aa9 100644
--- a/spec/controllers/user_controller_spec.rb
+++ b/spec/controllers/user_controller_spec.rb
@@ -45,7 +45,7 @@ describe UserController, "when showing a user" do
it "should search the user's contributions" do
get :show, :url_name => "bob_smith"
- assigns[:xapian_requests].results.count.should == 2
+ assigns[:xapian_requests].results.count.should == 3
get :show, :url_name => "bob_smith", :user_query => "money"
assigns[:xapian_requests].results.count.should == 1
end