Commit fbf412ea authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

fix dashboard spec

parent 53ce00f7
require 'spec_helper' require 'spec_helper'
describe "Dashboard" do describe "Dashboard" do
before { login_as :user } before do
@project = Factory :project
login_as :user
end
describe "GET /dashboard" do describe "GET /dashboard" do
before do before do
@project = Factory :project
@project.add_access(@user, :read, :write) @project.add_access(@user, :read, :write)
visit dashboard_path visit dashboard_path
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment