From 24af7753fe3a3c8ab1822fc548bba0c8ac56c884 Mon Sep 17 00:00:00 2001 From: danielvincent Date: Fri, 2 Jul 2010 10:27:41 -0700 Subject: [PATCH] DG IZ; fixed failing dashboard controller spec --- spec/controllers/dashboard_controller_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/controllers/dashboard_controller_spec.rb b/spec/controllers/dashboard_controller_spec.rb index f37e422d0..499d43ba3 100644 --- a/spec/controllers/dashboard_controller_spec.rb +++ b/spec/controllers/dashboard_controller_spec.rb @@ -5,6 +5,7 @@ describe DashboardController do before do request.env['warden'] = mock_model(Warden, :authenticate? => @user, :authenticate! => @user) + Factory.create(:user, :profile => Profile.create( :first_name => "bob", :last_name => "smith")) end it "index action should render index template" do