fix failing spec

This commit is contained in:
Sergey Linnik 2012-12-06 23:38:38 +04:00
parent f2c89c7c90
commit 07e4a12a09

View file

@ -58,7 +58,7 @@ describe "Projects" do
describe "DELETE /projects/:id" do describe "DELETE /projects/:id" do
before do before do
@project = create(:project) @project = create(:project, owner: @user)
@project.add_access(@user, :read, :admin) @project.add_access(@user, :read, :admin)
visit edit_project_path(@project) visit edit_project_path(@project)
end end