fix failing spec
This commit is contained in:
parent
f2c89c7c90
commit
07e4a12a09
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue