fix failing spec

This commit is contained in:
Sergey Linnik 2012-12-06 23:38:38 +04:00
parent f2c89c7c90
commit 07e4a12a09
1 changed files with 1 additions and 1 deletions

View File

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