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