fix dashboard spec
This commit is contained in:
parent
53ce00f74a
commit
fbf412eaa0
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue