diff --git a/spec/requests/dashboard_spec.rb b/spec/requests/dashboard_spec.rb
index 331aeeb99c2794fad0d04c4dc8001657dbf50199..d967e8863022a7176afb9858e6b50b8e2090680a 100644
--- a/spec/requests/dashboard_spec.rb
+++ b/spec/requests/dashboard_spec.rb
@@ -1,11 +1,13 @@
 require 'spec_helper'
 
 describe "Dashboard" do
-  before { login_as :user }
+  before do 
+    @project = Factory :project
+    login_as :user
+  end
 
   describe "GET /dashboard" do
     before do
-      @project = Factory :project
       @project.add_access(@user, :read, :write)
       visit dashboard_path
     end