From 814ef38fa9e5a9859109e1af88c1e968ec72595f Mon Sep 17 00:00:00 2001 From: Sarah Mei Date: Mon, 21 Feb 2011 13:20:39 -0800 Subject: [PATCH] Don't actually need 36 notifications. --- spec/controllers/notifications_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/controllers/notifications_controller_spec.rb b/spec/controllers/notifications_controller_spec.rb index b3a85f8d6..e0a3fc2f8 100644 --- a/spec/controllers/notifications_controller_spec.rb +++ b/spec/controllers/notifications_controller_spec.rb @@ -46,7 +46,7 @@ describe NotificationsController do describe '#index' do it 'paginates the notifications' do - 35.times do + 26.times do Factory(:notification, :recipient => @user) end @@ -54,7 +54,7 @@ describe NotificationsController do assigns[:notifications].count.should == 25 get :index, :page => 2 - assigns[:notifications].count.should == 10 + assigns[:notifications].count.should == 1 end end end